Logo
Peach Payments Public API Documentation

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.

 

Body PARAM

Key Datatype Required Description 



HEADERS

Key Datatype Required Description 
Content-Type
string




RESPONSES

status OK

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



Curl
curl -X POST 'authUrl/api/oauth/token' -H 'Content-Type: application/json' -d '{"clientId":"clientId","clientSecret":"clientSecret","merchantId":"merchantId"}'

ENDPOINTS