Skip to content
Chevron Chevron
English Chevron
United States USD Chevron
About token acquisition

About token acquisition

Token exchange

OAuth 2.0 token exchange allows apps to exchange a session token for an access token. The session token is only available for embedded apps and can be acquired using App Bridge.

Generating a starter app handles authentication automatically. However, refer to this guide for more details or if you need to implement token exchange yourself.

Anchor to Request flow using token exchange APIRequest flow using token exchange API

The following diagram illustrates the token exchange flow from the point at which a merchant interacts with the app to the point at which the app receives an access token and can make authenticated API requests.

Request flow using token exchange API