Auto Charge On Demand
POST/api/v2/payments/auto-charge-on-demand/:payment_id
Charge a payment using the consumer's latest tokenized card.
This endpoint allows organizations to charge a payment using the consumer's latest active tokenized card. The following conditions must be met:
- The consumer must have at least one active tokenized card.
- The payment must be in an unpaid status (PENDING, PROCESSING, FAILED, etc.).
This is a restricted API and is only available to some organizations.
Request
Responses
- 200
- 400
- 401
- 404
- 422
Successful Response
If no active card exists, payment is already paid, or payment processing fails.
If the organization does not have access to this API.
If payment, consumer, card, or consent is not found.
Validation Error