Look up authorization results
How you look up remote authorization results depends on your configured version. See Configure remote authorization to check your version.
Use the Transaction lifecycle APIs to look up authorization results. The card_transaction_event_id and card_transaction_id from the remote authorization request payload map directly to these APIs.
- Card transaction events API — Look up a specific authorization event by
card_transaction_event_id. - Card transactions API — Look up the card transaction by
card_transaction_id.
Example request
Shell
1curl -G https://api-demo.airwallex.com/api/v1/issuing/card_transaction_events/{{CARD_TRANSACTION_EVENT_ID}} \2 -H 'Authorization: Bearer {{ACCESS_TOKEN}}'
Use the legacy authorization APIs to look up authorization results. The transaction_id from the remote authorization request payload identifies the authorization.
- Get authorization status API — Retrieve authorizations for your account or a specific card.
- Get single authorization API — Retrieve a specific authorization by
transaction_id.
Example request
Shell
1curl -G https://api-demo.airwallex.com/api/v1/issuing/authorizations/{{TRANSACTION_ID}} \2 -H 'Authorization: Bearer {{ACCESS_TOKEN}}'
Was this page helpful?