Create an access token for Checkout SDK features
Changed onGenerates an access token to initialize the Checkout SDK to offer PayPal One-Click.
The OAuth bearer token you use to call this endpoint must be generated using an API key with specific permissions.
The access token returned by this endpoint is only required for the following features using Checkout SDK:
- PayPal One-Click
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.
Request
- Base URLhttps://api.sandbox.mangopay.com
- URLhttps://api.sandbox.mangopay.com/v2.01/oauth/token/embedded/checkout
- AuthHTTP bearer
Request body
Response
Success
Changes
- warning
deleted the
headerrequest parameterAuthorization - info
the endpoint scheme security
oauth2was added to the API
- warning
- info
api operation id
create_access_token_checkoutremoved and replaced withauthentication_create_access_token_checkout
- info