Enable your customers to save cards for faster future payments and manage their saved cards securely with xPay.
customerId
when creating the payment intent (create a new customer if needed, then use their customerId
).customerId
, the card is saved to the customer’s profile.customerId
in the create-intent request to get the saved cards)1. Create Customer
customerId
.2. Create Payment Intent with customerId
customerId
in the payload. Provide payment details (amount, currency, etc.).intentId
and payment instructions.customerId
in the request. The system will automatically save the card for the customer if the payment is successful and the payment method supports saving.3. Customer Completes Payment
4. Using Saved Cards
customerId
in the create-intent request to get the saved cards)customerId
in payment requests.