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.
Autorizaciones
Encabezados
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.
Cuerpo
application/json
Respuesta
Success
Charge context captured for new payments. Null for historical payments with no captured context.
Opciones disponibles:
link, charge Opciones disponibles:
pending, processing, succeeded, requires_action, failed, canceled Opciones disponibles:
stripe, commet, dlocal Rango requerido:
-9007199254740991 <= x <= 9007199254740991Rango requerido:
-9007199254740991 <= x <= 9007199254740991Rango requerido:
-9007199254740991 <= x <= 9007199254740991Allowed value:
"payment"