Exchange a one-time code for a token
Auth
Exchange a one-time code for a token
Exchanges a one-time code (for example from a payment link) for an OAuth2-compatible access token.
POST
Exchange a one-time code for a token
Body
application/json
Response
Code exchanged successfully. Returns access token for API authentication.
OAuth2-compatible token response containing the access token for authenticating API requests.
JWT access token for authenticating API requests. Include in the Authorization header as "Bearer {accessToken}".
The type of token issued. Always "Bearer" for JWT tokens.
Available options:
Bearer Example:
"Bearer"
Number of seconds until the access token expires.
Example:
604800
The unique identifier of the authenticated user.
Example:
"f47ac10b-58cc-4372-a567-0e02b2c3d479"