Payment methods
Customers can save a payment method for future purchases and plan switches. This is built on a secure setup-intent flow.Invoices
List a customer’s invoices for displaying billing history:createdAt, status ("draft", "open", "paid", "uncollectible", "void", or null), amountTotal (in cents), and hostedInvoiceUrl (a link to the hosted invoice page, or null).
Invoices support pagination:
Billing and invoices are available for user and team customers only, not custom customers (see Customer Types).
Related
- Subscriptions - switching plans requires a saved payment method
- Checkout & Purchases - sell a product
- Refunds - reverse a charge and optionally end access