Skip to main content

Payment methods

Customers can save a payment method for future purchases and plan switches. This is built on a secure setup-intent flow.
To check if a customer has a payment method saved:

Invoices

List a customer’s invoices for displaying billing history:
Each invoice includes 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).
To reverse a charge, see Refunds. Refunds are issued from Payments -> Transactions, not from the customer invoice list.