Skip to main content

Issue a Loyalty Access Token

POST 

/customers/:customerId/loyalty/token

The API allows wallet owners who are already enrolled in the loyalty program to obtain a loyalty access token, which can be used to authenticate the client with the loyalty application's SDK and access loyalty features.

  • The API issues a loyalty access token only to authorized partners for wallets already enrolled in the loyalty program.
  • The API ensures that each access token is tied to a specific wallet, preventing its use with other wallets or accounts.
  • The wallet owner must be enrolled in the loyalty program before an access token can be issued; otherwise, the API returns an error.
  • The client must securely store the access token and include it in all subsequent requests to the loyalty application's SDK.
  • The access token is valid only for a limited time and cannot be refreshed. Once it expires, the client must request a new token by calling this endpoint again.

Upon successful issuance, the API returns the access token along with its expiration time and scope.

Request

Responses

OK