Pesaswap supports multiple ways to save a customer’s payment method, especially useful for recurring or future payments:Documentation Index
Fetch the complete documentation index at: https://docs.pesaswap.io/llms.txt
Use this file to discover all available pages before exploring further.
- Saving for future customer on-session payments (COF-CIT)
- Saving for future customer off-session payments (MIT)
Saving a payment method for future on-session payments (COF CIT)
To improve conversion rates and eliminate friction for the customer during checkout, you can save the customer’s card so that they wouldn’t have to enter the card details every time. This also minimises the risk of the customer entering incorrect card details. Saving for future on-session payments implies that the customer will be available online during the checkout and can authenticate the payment by entering CVV or complete 3DS verification. These are known as Card-on-File Customer Initiated Transactions (COF-CIT). This is typically limited for card payment methods and not for wallets (viz. Apple Pay) and other APMs. For saving a customer’s payment method used in a successful transaction: Pass the following field in the /payments create request to indicate your intention to save the payment methodHow to Save:
1. Include in/payments create request:
/payments/:id/confirm request:
If you are using the Pesaswap SDK, the customer_acceptance is sent in the /payments/:id:/confirm request on the basis of customer clicking the save card radio button. Note: Ensure to enable this functionality using the displaySavedPaymentMethodsCheckbox property during SDK integration.
Save for Future Off-Session Payments (MIT)
This is used when the customer is not present (off-session) during payment. Common in subscription or invoice scenarios.How to Save:
1. Include in/payments create request:
/payments/:id/confirm:
payment_method_id:
Use a Saved Payment Method for MIT
To charge a customer later using a previously saved payment method:In /payments create request:
payment_method_id retrieved from the previous successful save.