Payment sources
A Payment Source is the secure record of a customer's payment details, like their credit card information. It's the key resource that allows you to collect payments automatically for recurring subscriptions and future invoices without having to ask the customer for their details every time.
Think of it as a secure, tokenized instrument linked directly to a customer profile, which Airwallex uses to fund invoices.
Creating a payment source
Payment sources are created and saved when a customer successfully completes a transaction through one of your integrated checkout flows:
- Hosted billing checkout: The payment source is created automatically when the customer completes a purchase or payment setup flow.
- Digital invoice link: When a customer pays an invoice link, their payment method is automatically saved as a payment source for future use.
- Custom integration: If you're using Embedded Elements, Native API, or a Mobile SDK, you create the Payment Source object via API using the verified Payment Consent object collected during the checkout flow. See Other checkout options.
Was this page helpful?