Get an access token

POST/oauth/token

The access token is required for the request that needs authentication

Body application/x-www-form-urlencoded

client_idstringrequired

Example : oid-*********************** the merchant credential you receive when sign up with TripleA

client_secretstringrequired

Example : Qi42********************* the merchant credential you receive when sign up with TripleA

grant_typestringrequired

Example : client_credentials

Response

Error defines errors may be returned from the system.

messagestring
errorsobject[]
Show errors properties
errorCodestring
messagestring

Error defines errors may be returned from the system.

messagestring
errorsobject[]
Show errors properties
errorCodestring
messagestring

Error defines errors may be returned from the system.

messagestring
errorsobject[]
Show errors properties
errorCodestring
messagestring
Request
curl -X POST "https://api.uat.triple-a.io/api/fiat-payout/v1/oauth/token" \
  -H "Content-Type: application/x-www-form-urlencoded" \
  -d '{
  "client_id": "oacid-***********************",
  "client_secret": "Qi42*********************",
  "grant_type": "client_credentials"
}'
Response
{
  "message": "string",
  "errors": [
    {
      "errorCode": "string",
      "message": "string"
    }
  ]
}