v1
latestOpenAPI 3.0.12026-08-06135.9 KBRequest OAuth token
Request an OAuth token from the Ratepay authorization server.
post/oauth/token
Request body
Example request
{
"client_id": "your-client-id",
"client_secret": "your-client-secret",
"audience": "https://api.ratepay.com/transaction/management",
"grant_type": "client_credentials"
}Response
Successfully created an access token.
Example response
{
"access_token": "ey...",
"expires_in": 1800,
"token_type": "Bearer"
}