The recurring payments API allows you, with an explicit authorization (preapproval) from your customers, to charge them any time that is needed, without the buyers having to perform a new payment flow for each new purchase.
The payment methods that support recurring payments are: MercadoPago (46), QIWI Wallet (1003), SEPA Direct Debit (84), Cards (69) and Klarna Invoice (75).
For MercadoPago (46), QIWI Wallet (1003) and SEPA Direct Debit (84) you can initiate recurring payments by creating first a preapproval approved by the customer. Having an open preapproval, means you have the possibility to charge the customer when and how many times it is necessary. This authorization is valid until the customer or you revoke this preapproval/authorization.
For Cards (69) and Klarna Invoice (75), you do not need a preapproval, you only need to send in the preapprovalID field the initial GlobalPay PaymentID received in notification of the initial successful one-off payment that the customer has made. To initiate a recurring payment for Cards (69) and Klarna Invoice (75), please skip to Create a Recurring Payment.
A typical recurring payment scenario via GlobalPay for the alternative payment methods MercadoPago (46), Qiwi Wallet (1003) and SEPA Direct Debit (84) is described next:
- The merchant creates a preapproval in GlobalPay and redirects the customer to GlobalPay.
- GlobalPay is redirecting the customer to provider.
- The customer enters the data specific to each payment method and approves the automatic debit.
- The customer is redirected to the returnURL specified by the merchant.
- GlobalPay notifies you about the preapproval status.
- Having an opened preapproval, you can instruct GlobalPay system to charge the customer, whenever it is necessary (e.g. immediately or according to a subscription plan that the customer approved on your website), by only specifying the amount and currency.
- GlobalPay notifies you about the recurring payment status.