Exchange an OAuth access key for a bearer token by providing its client_id and client_secret in the request body.
- Mock serverhttps://docs.resolvepay.com/_mock/partners-api/openapi/access-keys/token
- Sandbox serverhttps://app-sandbox.resolvepay.com/api/access-keys/token
curl -i -X POST \
https://docs.resolvepay.com/_mock/partners-api/openapi/access-keys/token \
-H 'Content-Type: application/json' \
-d '{
"client_id": "abc123clientid",
"client_secret": "secret-value"
}'Successfully minted bearer token
Response
{ "access_token": "eyJ...", "token_type": "Bearer", "expires_in": 86400, "scope": "merchant:read merchant:write" }