This is the common endpoint to obtain a token to access the API using the Client Credentials Grant
Request
Body Params application/json
{
"clientId": "string",
"clientSecret": "string",
"scope": "string"
}
Request Code Samples
curl --location --request POST 'https://sandbox.api.confirmapay.com//v1/auth/token' \
--header 'Content-Type: application/json' \
--data-raw '{
"clientId": "string",
"clientSecret": "string",
"scope": "string"
}'
Responses
{
"data": {
"accessToken": "string",
"tokenType": "string",
"expiresIn": 0
},
"description": {
"code": "string",
"message": "string"
},
"narrative": {
"code": "string",
"message": "string"
}
}
Modified at 2025-11-24 05:00:19