Recurring mandates allow you to debit a customer's bank account repeatedly without requiring the customer to approve each payment individually. This is a common pattern for subscription models, one-click checkouts and adhoc merchant-initiated debits.
supports recurring mandates for the two main scenarios:
You can setup recurring mandates with by following 3 simple steps:
Setup intent for an recurring by passing the below information in the credentialOnFile object:
{
...
"credentialOnFile": {
"type": "RECURRING",
"initialPayment": true
}
} |
Store the account and mandate details based on the integration type upon receiving successful payment response to the initial transaction:
| Integration type | Action | |
|---|---|---|
Hosted forms – Hosted Payment Page or Direct Debit Hosted forms | Fetch the account and mandate details by calling Retrieve payment details by payment ID and store it
| |
| Direct integration | Store the account and mandate details that you already have during the payment process. |
Submit the subsequent payment request with request parameters depending on the type of your integration
| Integration type | Payment parameters | ||
|---|---|---|---|
| Hosted forms - Hosted Payment Page or card hosted forms |
| ||
| Direct Integration |
|