Authorization
Authorization via Partner Token
Paste following mutation into playground left side terminal:
mutation { auth_token {accessToken} }
Paste following code into “HTTP Headers” tab, using your Partner Token (received from WhiteMarket) :
{ "X-partner-token" : "Partner Token (received from WhiteMarket)" }
Receive Authorization Token at right-side terminal. You will need to use it for further requests in order for our server to process them as legit ones.
This token has 1 hour lifetime
After 1 hour you will receive next one:
"error": { "code": 401, "message": "Expired JWT Token" }
Please repeat step 2 to receive new token.
Change code in “HTTP Headers” tab to following one, using your Authorization Token (received in step 3):
{ "Authorization" : " Bearer %Your authorization token received in step 3% " }
With “Authorization”… HTTP Header you can call any available query: