NICEPAY API
...
SNAP API Testing
Request Access Token
Request Access Token
1min
POST
https://dev.nicepay.co.id/nicepay/v1.0/access-token/b2b
Header Parameters
X-SIGNATURE
*
X-CLIENT-KEY
*
X-TIMESTAMP
*
Body Parameters
body
*
Example
{"grantType":"client_credentials","additionalInfo":{}}
All Of
Request-Access-Token +
grantType
*
additionalInfo
Responses
200
Success
responseCode
responseMessage
accessToken
tokenType
expiresIn
202
Request In Progress
responseCode
responseMessage
401
Unauthorized [reason]
responseCode
responseMessage
409
Duplicate partnerReferenceNo
responseCode
responseMessage
500
General Error
responseCode
responseMessage
504
Request Timeout
responseCode
responseMessage
Updated 05 Jul 2024
Did this page help you?