Generate token API
API
Parameter
Data Type
Required
Description
Parameter
Data Type
Description
Was this helpful?
API
PLATFORM should call this API to get Bearer token to use in all other APIs.
Authentication Mechanism: OAuth 2.0
API:
Path: /v2/auth/oauth2/token
Method: POST
Request: Content-Type: application/json
Request Parameter
grant_type
String
Y
“client_credentials” as default.
client_id
String
Y
API integration information in the profile section on the Merchant Portal.
client_secret
String
Y
API integration information in the profile section on the Merchant Portal.
scope
String
Y
“disbursement” as default.
Response Data
code
Number
System’s error code.
message
String
Error description.
access_token
String
To authenticate for all other APIs.
token_type
String
“bearer” as default.
expires_in
Number
“access_token” expiration time, in seconds.
Was this helpful?
Was this helpful?