Payments
Charge a customer
Charge a customer’s vaulted payment method off-session. Calculates tax, generates an invoice, and sends a receipt. Requires the customer to have a subscription in active, trialing, or past_due state.
POST
cURL
Charge a customer’s vaulted payment method off-session. Calculates tax, generates an invoice, and sends a receipt. Requires the customer to have a subscription in active, trialing, or past_due state.
Authorizations
Headers
Unique key used to safely retry this write for 24 hours without applying it twice.
Required string length:
1 - 200API version used by this reference. Send this header to select this contract explicitly.
Body
application/json
Response
Success
Charge context captured for new payments. Null for historical payments with no captured context.
Available options:
link, charge Available options:
pending, processing, succeeded, requires_action, failed, canceled Available options:
stripe, commet, dlocal Required range:
-9007199254740991 <= x <= 9007199254740991Required range:
-9007199254740991 <= x <= 9007199254740991Required range:
-9007199254740991 <= x <= 9007199254740991Allowed value:
"payment"