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.customerId in the create-intent request to get the saved cards)
customerId in payment requests.
* Customers can manage their saved cards directly from the xPay checkout interface.
# Payment Links
Source: https://docs.xpaycheckout.com/products/payment-links/payment-links
Create shareable payment links for one-time and subscription payments with xPay's flexible payment link solution.
## What are Payment Links?
Payment Links are standalone web pages that allow customers to make payments through shareable URLs. They provide a complete payment experience without requiring any technical integration, making them ideal for businesses that want to start accepting payments quickly.
## Types of Payment Links
Perfect for individual transactions, one-time payment links are ideal for single purchases and immediate payments.
Designed for recurring billing, subscription payment links create ongoing payment relationships with customers.
Include product information when generating payment links to create more engaging and informative payment pages:
Use the xPay dashboard to easily add product details:
Add product details programmatically using the productPage object in your API request:
merchantId.x-connect-merchant-id: \ on any authenticated request.x-connect-merchant-id header (or click Switch to Platform account in the dashboard) to return to the Platform context.
x-connect-merchant-id values are treated as independent.
x-connect-merchant-id) is rejected with "Platform merchants cannot accept payments". Payments must always be scoped to a Connect merchant.
A persistent dropdown in the dashboard header lets you switch between Connect merchants from anywhere. A pulsing dot indicates that you are currently acting as a Connect merchant; click Switch to Platform account to return.
xPay automatically retries failed payments with intelligent retry logic: