dLocal · Arazzo Workflow
dLocal Authorize and Capture Payment
Version 1.0.0
Authorize a card transaction, confirm the authorization, then capture the funds.
Provider
Workflows
authorize-and-capture-payment
Authorize a card payment and capture it once it is confirmed AUTHORIZED.
Creates an authorization with capture=false, confirms the AUTHORIZED status, and either captures the held funds or cancels the authorization when it is not authorized.
1
createAuthorization
createAuthorization
Authorize a card transaction without capturing funds by setting capture=false on the card object.
2
confirmAuthorization
retrievePayment
Retrieve the payment to confirm whether it reached the AUTHORIZED state before attempting to capture.
3
captureFunds
captureAuthorization
Capture the full authorized amount, completing the transaction.
4
cancelAuthorization
cancelAuthorization
Release the authorization hold when the payment did not reach the AUTHORIZED state.