Merchant Access

POST {{authUrl}}/api/oauth/token

Generate an access token with a 4 hour expiry time out that is restricted to the entity specified.

Request Body

{"clientId"=>"{{clientId}}", "clientSecret"=>"{{clientSecret}}", "merchantId"=>"{{merchantId}}"}

HEADERS

KeyDatatypeRequiredDescription
Content-Typestring

RESPONSES

status: OK

{"access_token":"xxx","token_type":"Bearer","expires_in":123}