post
https://api-sandbox.asaas.com/v3/payments//captureAuthorizedPayment
Endpoint responsible for capturing the amount of a charge previously created with pre-authorization.
This request converts the reservation made on the card into the actual transaction capture.
Requirements for capture
For capture to be possible, the charge must:
- have been created as pre-authorized
- have the
AUTHORIZEDstatus - still be within the reservation validity period
Without these conditions, the operation cannot be completed.
Request parameter
id— Unique identifier of the charge in Asaas
When to use this endpoint
This endpoint is recommended in flows where the amount must first be reserved and only captured at a later moment, after operational confirmation or validation of the service provided.
404Not found
