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
string
*
X-CLIENT-KEY
string
*
X-TIMESTAMP
string
*
Body Parameters
body
b2b_body
*
Example
{"grantType":"client_credentials","additionalInfo":{}}
All Of
Request-Access-Token +
grantType
string
*
additionalInfo
object
Responses
200
Success
Success
responseCode
string
responseMessage
string
accessToken
string
tokenType
string
expiresIn
string
202
Request In Progress
RequestInProgress
responseCode
string
responseMessage
string
401
Unauthorized [reason]
UnauthorizedReason
responseCode
string
responseMessage
string
409
Duplicate partnerReferenceNo
DuplicatePartnerReferenceNo
responseCode
string
responseMessage
string
500
General Error
GeneralError
responseCode
string
responseMessage
string
504
Request Timeout
RequestTimeout
responseCode
string
responseMessage
string
Updated 04 Jul 2024
Did this page help you?