Payments
Capture Authorization
Captures a previously authorized payment, partially or in full depending on the provider.
POST
This request captures a payment that was previously authorized. This action is required to finalize a payment when an authorization was created with the capture option set
Note that this request requires an
false. Depending on the payment provider, the capture could be partial (including multiple captures) or total. The amount is optional: if you omit it, the API captures the full authorized amount. A capture larger than the authorization is forwarded to the provider, which decides whether to accept it.
Payments with a Yuno promotionThe authorized amount is what the customer pays,
amount.value minus discount_amount, so a complete capture takes that amount and payment.amount.captured reads it. See Promotions.X-Idempotency-Key. Check the Authentication page for more information.Authorizations
Path Parameters
Body
application/json
Determines whether Yuno should automatically attempt to capture a payment after an initial error or decline. When set to true, Yuno will retry the process if the first attempt fails. By default, this is set to false. Access Transaction Retries for more details.
Response
201
- Full Capture
- CARD DIRECT (with Airline Data)
- Partial Capture