v1
latestOpenAPI 3.0.02026-07-24126202516.7 KBAuthentication
Token
Exchange client application credentials for a bearer token. Please ensure to call the auth issuing server as described at https://developer.assemblypayments.com/reference#authentication
post/tokens
Request body
Example request
{
"grant_type": "client_credentials",
"client_id": "10ajtntet1ccghuo8mv9ojglma",
"client_secret": "hto00nsjk6osurndceon4rsn2irhi8s4lurau5f797d0smb94l6",
"scope": "im-au-04/cdbf9590-1db6-0139-ac4d-0a58a9feac03"
}Response
Response body contains an access token with lifetime in seconds and usage information.
Example response
{
"access_token": "ey...J9.ey...n0.Iu...7g",
"expires_in": 3600,
"token_type": "Bearer"
}