Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

This feature allows you to accept payments from your customer’s card without requiring the customer’s card details. This can be used for recurring payments, subscriptions, automated savings, etc.

How it works

  1. A first transaction requiring customer authorization is done from your web or mobile application.

  2. Get a token linked to the card.

  3. Save the card token.

  4. Charge the card using the saved token.

Charge the customer’s card from your web or mobile application.

...

Once the first card transaction is successful, you get a card token by performing a re-query on the transaction using the Get Transaction Status API, for more info - check this link. When you call this endpoint, you'll obtain a response with a cardDetails object in the request body, which has the cardToken field, which holds the card’s token.

...

When a customer selects the card for a new transaction or when you want to charge them subsequently, you make a request to the Charge Card Token endpoint with the saved token and the customer’s email. Ensure you send the same email used for the initial transaction when making this request.

...