Access Token API is an API call that can be used to acquire B2B access token from Midtrans. This access token will be used for client-level verification and subsequent Transactional API such as initiating payment, refund, and cancel.
SNAP service code
Media type of the resource, i.e. application/json
Client’s current local time in ISO-8601 format
Created using asymmetric signature SHA256withRSA algorithm
Client’s client_id (given at the completion registration process)
client_credentials: The client can request an access token using only its client credentials (or other supported means of authentication) when the client is requesting access to the protected resources under its control (OAuth 2.0: RFC 6749 & 6750)