Authentication
OAuth 2.0
Pay Later API uses the OAuth 2.0 protocol for authentication and authorization.
Ratepay will provide you with one set of credentials (Client ID and Client Secret). Use these credentials to request an access token from Ratepay's Authorization Server (https://oauth.ratepay.com/oauth/token), extract the token from the response and include it in your Pay Later API request.

Authentication process
The credentials must be handled with care and confidentiality and may not be disclosed to any third party.
post
https://oauth.ratepay.com
/oauth/token
Request a Token
{
"client_id": "{CLIENT_ID}",
"client_secret": "{CLIENT_SECRET}",
"audience": "https://api.ratepay.com/paylater",
"grant_type": "client_credentials"
}
Last modified 2yr ago