An authorization** **code is a unique code generated by the acquirer to confirm that a transaction was approved.
You can find the authorization code in the Payments section of your Dashboard, in the API response, or in the payment webhooks.
In the Dashboard
To find the authorization code:
- Sign in to the Dashboard.
- Go to Payments > Processing > All Payments.
- Select the payment for which you need the authorizaton code.
- In the Payment timeline section, expand the Authorization step.
You can view the authorization code in the details section that opens.
Using the API
When you request a payment using the Request a payment or payout endpoint, the authorization code is included in the response as the auth_code field if the status code is 201.
Using the webhooks
If you have webhooks configured for payment events, you can find the authorization code in the auth_code field of the payment_approved webhook.