Skip to main content
POST
This endpoint allows you to obtain an access token that you can use to initialize Checkout SDK. This access token is only required for the following features using Checkout SDK: You do not need an access token if using Checkout SDK to service other payment methods or PayPal without PayPal One-Click. A single access token can be used to service the experience to one user and has a lifespan of 15 minutes. You need to provide the UserId of the Natural User or Legal User who will use the Checkout session to make the payment.

Body parameters

string
required
Your Mangopay Client ID.
object
required

Responses

string
The access token value to use as the clientToken value when initializing Checkout SDK.
string
The type of the token (always Bearer).
integer
The number of seconds until the token expires.
string
The API permission scopes of the token, in this case to read and write a Checkout session.