post
https://api-sandbox.asaas.com/v3/payments//payWithCreditCard
Endpoint responsible for paying an existing charge with a credit card at the moment of the request.
Unlike directly creating a credit card charge, this endpoint is used when the charge already exists and the payment will be informed later, using card data or a previously generated token.
Request parameter
id— Unique identifier of the charge in Asaas
Main request parameters
creditCard— Object containing card datacreditCardHolderInfo— Object containing cardholder datacreditCardToken— Previously generated token. When informed, it replaces the card and cardholder objects
Important rule
This endpoint processes the payment immediately at the time of the request.
It cannot be used to schedule a payment for a future date.
404Not found
