The auto-debit functionality or future payment takes advantage of token-based approach to obtain one-time authorization and user consent for future payments from Zeta users. The user token works conceptually similar to OAuth access tokens. This functionality allows you to save user payment details (including the user token) once and use the stored details to charge Zeta user for any future transactions.
A typical auto-debit payment flow would be as follows:
|
Take care of the following:
Create Zeta Developer Account: Create a developer account with Auto-Debit whitelisted.
We can provide the same permission to an existing account as well. |
Link Zeta Account: A first time user has to open the Developer/Merchant app and select the option to authenticate with Zeta. Please follow the save source flow to enable the linking of zeta details of the user to your account.
While saving a source for the purpose of Auto-debit flow please request for the following permissions - "SAVE_FOR_FUTURE", "GET_BALANCE", "AUTO_DEBIT". Refer to the Save a source API in the API reference for more details. |
sourceId
received in the Save Source flow.
|