Pay a charge with a credit card

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 data
  • creditCardHolderInfo — Object containing cardholder data
  • creditCardToken — 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.

Path Params
string
required
Body Params
creditCard
object
required
creditCardHolderInfo
object
required
string
Responses

404

Not found

Language
Credentials
Header
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json