Skip to main content

Receiving the payment token

The payment_token is generated once the customer confirms the consent.

It can be retrieved:

  • via the get_association (GET) request on the /v1/association endpoint, or
  • as part of the capture request during the initial payment

When using the separate consent flow, the payment_token can also be delivered via a JSON webhook notification.
To enable this option, please contact Paysafe.

Validity and Behavior


  • The association ID is generated when the customer gives their consent and is valid for 60 minutes. If the customer does not confirm the consent within this timeframe, a new association request must be created.

  • Creating a new association ID with the same parameters will invalidate the previously generated association ID.

  • The payment token is valid for 365 days.

  • The status of both the association ID and the payment token can be checked at any time using the
    get_association request.