This API is used to get access token from merchant to QoinHub as the acquirer. The access token should be included in Authorization header of every transaction sent to API Management. The authentication is valid for 15 minutes, otherwise you will be required to request new Access Token.
Path
/ordersnap/api/v1.0/access-token/b2b
HTTP Method
POST
Version
v1.0
Service Code
73
Request Header
Field Name
Field Type
Mandatory
Field Description
Content-type
String
M
Media type of the resource, i.e. application/json
X-TIMESTAMP
String
M
Client’s current local time in ISO-8601 format
X-SIGNATURE
String
M
Created using asymmetric signature SHA256withRSA algorithm. Read here
X-CLIENT-KEY
String
M
API Key / Client ID merchant (Web Merchant > Pengaturan > System Setting > tab Security Key)
Content-type
application/json
X-TIMESTAMP
2025-07-06T14:12:50+07:00
X-SIGNATURE
neGbHoFVY1d7EtG8Z6VBWwykvyqIkg
X-CLIENT-KEY
7fb118fb-2738-4886-9817-8a2c4de43001
Request Body
Field Name
Field Type
Mandatory
Field Description
grantType
String
M
client_credentials: The client can request an access token using only its client credentials