Sign UpLog In

This page provides detailed information about the access token API used in the SNAP standard for QRIS creation and query.

Request Parameters

Key ParametersData TypeDescription
Content-TypeStringString representing the content type (application/json)
X-CLIENT-KEYStringClient's client_id
X-TIMESTAMPdatetimeClient's current local time in yyyy-MM- ddTHH:mm:ss.SSSTZD format
X-SIGNATUREstringNon-repudiation & integrity validation checking.

Generated by client and created using asymmetric
signature SHA256withRSA algorithm
(Private_Key, stringToSign)
stringToSign = client ID + “|” + X-TIMESTAMP
grant_typestringMust be client_credentials

Response Parameters

Key parametersData typeDescription
responseCodeintegerA code indicating the success or failure of the request, along with the associated reason.
responseMessagestringA detailed message providing further context on the response code.
accessTokenstringAn authorization token issued to the client for accessing protected resources.
tokenTypestringSpecifies the type of token returned (e.g., Bearer).
expiresInintegerThe duration (in seconds) for which the access token is valid before expiring. It will be 900 seconds in default.
Language
Click Try It! to start a request and see the response here!