# Authorization approved This [Issuing](https://www.checkout.com/docs/card-issuing.md) event occurs when an authorization request for a transaction is approved. ## Example webhook ```json { "id": "evt_az5sblvku4ge3dwpztvyizgcau", "type": "authorization_approved", "version": "2.0.0", "created_on": "2018-04-10T08:13:14Z", "data": { "id": "msg_abcd5fg6hievapshljklmnop4", "card": { "id": "crd_fa6psq242dcd6fdn5gifcq1491", "scheme" : "mastercard", "metadata": { "reference": "X-123456-N11", "udf1": "metadata1", "udf2": "metadata2", "udf3": "metadata3", "udf4": "metadata4", "udf5": "metadata5" } }, "cardholder":{ "id": "crh_urdihafyo75evcr55s62jmwwhy" }, "entity":{ "id": "ent_urdihafyo75evcr55s62jmwwhy" }, "client":{ "id": "cli_urdihafyo75evcr55s62jmwwhy" }, "initiator": "cardholder", "decision_source": "issuer", "transaction_id": "trx_y3oqhf46pyzuxjbcn2giaqnb44", "transaction_type": "purchase", "transmission_date_time": "2018-04-10T08:12:14Z", "local_transaction_date_time": "2018-04-10T08:12:14", "authorization_type": "final_authorization", "authorization_code": "03C0C0", "transaction_amount": 1000, "transaction_currency": "GBP", "billing_amount": 900, "billing_currency": "EUR", "billing_conversion_rate": 0.925643, "ecb_conversion_rate": 0.9, "digital_card_information": { "digital_card_id": "dcr_fa6psq242dcd6fdn5gifcq1491", "device_type": "phone", "wallet_type": "apple_pay" }, "acquirer": { "id": "748846" }, "merchant": { "merchant_id": "59889", "name" : "Acme Corporation", "city": "Paris", "state": "", "country": "FRA", "category_code": "5021", "street_address": "Wenlock Works, Shepherdess Walk" }, "transit_information": { "transaction_type": "authorized_aggregated_split_clearing", "transportation_mode": "urban_bus" }, "point_of_sale_transaction_date" : "2023-04-25", "reference_transaction": { "transaction_id": "trx_fa6psq242dcd6fdn5gifcq1491", "reference_type": "original_recurring" }, "three_d_secure": { "requested_exemption_or_exclusion": "merchant_initiated_transaction", "sca_not_required_reason": "merchant_initiated_transaction", "authentication_status": "authenticated" }, "pos": { "country_code": "GBR", "postal_code": "SE100ER", "card_present": "present", "cardholder_present": "not_present", "entry_mode": "ecommerce" }, "authorization_relay": { "result": "approved", "client_response": { "result": "server_error" }, "stand_in": { "result": "approved" } } } } ``` --- ## Webhook fields | Field name | Description | | --- | --- | | `id`
`string` | The event's unique identifier, prefixed with `evt_`. | | `type`
`string` | The type of event.

This value is `authorization_approved`. | | `version`
`string` | The webhook's version. | | `created_on`
`date-time` | The date and time when the event occurred, in UTC.
Standard – ISO 8601 code
Example – `yyyy-mm-ddThh:mm:ss.sss` | | `data`
`object` | The webhook message.

See the [Data](#Data_object) object. | ## Data object | Field name | Description | | --- | --- | | `id`
`string` | The transaction message's unique identifier, prefixed with `msg_`. | | `card`
`object` | The card details.

See the [Card](#Card_object) object. | | `cardholder`
`object` | The cardholder's details.

See the [Cardholder](#Cardholder_object) object. | | `entity`
`object` | The entity's details.

See the [Entity](#Entity_object) object. | | `client`
`object` | Your details as a Checkout.com client.

See the [Client](#Client_object) object. | | `initiator`
`string`
`optional` | The party who initiated the message.

This can be one of:

- `cardholder` – The cardholder initiated the message.
- `merchant` – The merchant initiated the message. | | `decision_source`
`string`
`optional` | The party who made the decision to approve or decline the authorization.

This can be one of:

- `issuer` – You have authorization relay [stand-in mode](https://www.checkout.com/docs/card-issuing/manage-issuing-transactions/relay-authorization-requests.md) enabled and Checkout.com made the decision on your behalf while your server was temporarily unavailable.
- `scheme` – In the rare event that Checkout.com's server was temporarily unavailable, the card scheme made the decision based on risk rules. | | `transaction_id`
`string` | The transaction's unique identifier, which links together all related authorization, reversal, and clearing messages. This is prefixed with `trx_`. | | `transaction_type`
`string` | The type of transaction. This can be one of:

- `balance_inquiry`
- `bill_payment`
- `cashback`
- `pin_change`
- `pin_unblock`
- `purchase`
- `purchase_account_inquiry`
- `refund`
- `remittance_funding`
- `withdrawal` | | `transmission_date_time`
`date-time` | The date and time when the transaction message entered the card scheme's network, in UTC.
Standard – ISO 8601 code
Example – `yyyy-mm-ddThh:mm:ss.sss` | | `local_transaction_date_time`
`string`
`optional` | The local date and time when the transaction was initiated.
Standard – ISO 8601 code
Format – `yyyy-mm-ddThh:mm:ss.sss` | | `authorization_type`
`string` | The type of authorization we received from the card scheme. This can be one of:

- `authorization`
- `deferred_authorization`
- `final_authorization`
- `incremental_pre_authorization`
- `pre_authorization` | | `authorization_code`
`string` | The authorization code we generate when we approve the transaction. | | `transaction_amount`
`uint64` | The transaction amount, in the [minor currency unit](https://www.checkout.com/docs/payments/accept-payments/format-the-amount-value.md). | | `transaction_currency`
`string` | The acquirer’s local currency, or the local currency of the transaction’s source location.
Standard – [ISO 4217 code](https://www.checkout.com/docs/developer-resources/testing/codes/currency-codes.md)
Example – `USD` | | `billing_amount`
`uint64` | The amount you bill the cardholder for, in the [minor currency unit](https://www.checkout.com/docs/payments/accept-payments/format-the-amount-value.md).

If currency conversion is required, this is based on [Mastercard rates](https://www.mastercard.com/global/en/personal/get-support/convert-currency.html). | | `billing_currency`
`string` | The currency in which you bill the cardholder.
Standard – [ISO 4217 code](https://www.checkout.com/docs/developer-resources/testing/codes/currency-codes.md)
Example – `USD` | | `billing_conversion_rate`
`double` | The card scheme conversion rate used to convert the transaction amount to the billing amount. | | `ecb_conversion_rate`
`double`
`optional` | The European Central Bank (ECB) comparative rate that is communicated to the cardholder for a currency conversion when the `transaction_currency` and `billing_currency` are different. | | `digital_card_information`
`object`
`optional` | The digital card's details.

See the [Digital card information](#Digital_card_information_object) object. | | `acquirer`
`object` | The acquirer details.

See the [Acquirer](#Acquirer_object) object. | | `merchant`
`object` | The merchant's details.

See the [Merchant](#Merchant_object) object. | | `transit_information`
`object`
`optional` | The transit transaction details.

See the [Transit information](#Transit_information_object) object. | | `point_of_sale_transaction_date`
`string`
`optional` | The date of the transaction at the point of sale.
Format – `yyyy-mm-dd` | | `reference_transaction`
`object`
`optional` | The reference transaction details.

See the [Reference transaction](#Reference_transaction_object) object. | | `three_d_secure`
`object`
`optional` | The 3D Secure (3DS) challenge details.

See the [ThreeDSecure](#ThreeDSecure_object) object. | | `pos`
`object` | The conditions at the point of sale (PoS) at the time of the transaction.

See the [POS](#POS_object) object. | | `authorization_relay`
`object`
`optional` | The [authorization relay](https://www.checkout.com/docs/card-issuing/manage-issuing-transactions/relay-authorization-requests.md) response details.

See the [Authorization relay](#Authorization_relay_object) object. | ## Card object | Field name | Description | | --- | --- | | `id`
`string` | The card's unique identifier, prefixed with `crd`. | | `scheme`
`string` | The card scheme that processed the payment.

This can be one of:

- `mastercard`
- `visa` | | `metadata`
`object`
`optional` | Your user-defined metadata details.

See the request body of the [Create a card endpoint](https://api-reference.checkout.com/tag/Cards/#operation/createCard!path=0/reference&t=request). | ## Cardholder object | Field name | Description | | --- | --- | | `id`
`string` | The cardholder's unique identifier, prefixed with `crh_`. | ## Entity object | Field name | Description | | --- | --- | | `id`
`string` | The entity's unique identifier, prefixed with `ent_`. | ## Client object | Field name | Description | | --- | --- | | `id`
`string` | Your unique identifier as a Checkout.com client, prefixed with `cli_`. | ## Digital card information object | Field name | Description | | --- | --- | | `digital_card_id`
`string` | The digital card's unique identifier, prefixed with `dcr_`. | | `device_type`
`string`
`optional` | The type of device used for the transaction. This can be one of:
- `card`
- `device_peripheral`
- `domestic_appliance`
- `fashion_accessory`
- `garment`
- `jewelry`
- `key_fob`
- `media_or_gaming_device`
- `mobile_phone_case_or_sleeve`
- `mobile_phone_network_operator_controlled_fixed_secure_element`
- `mobile_phone_network_operator_controlled_removable_secure_element`
- `mobile_phone_not_network_operator_controlled_fixed_secure_element`
- `mobile_phone_not_network_operator_controlled_removable_secure_element`
- `mobile_phone_payment_application_host_processor`
- `mobile_phone_payment_application_tee_host_processor`
- `mobile_tag`
- `pc`
- `phone`
- `removable_secure_element_not_network_operator_controlled`
- `sticker`
- `tablet_or_e_book_network_operator_controlled_fixed_secure_element`
- `tablet_or_e_book_not_network_operator_controlled_fixed_secure_element`
- `tablet_or_e_reader`
- `tablet_or_e_reader_payment_application_host_processor`
- `tablet_or_e_reader_payment_application_tee_host_processor`
- `tablet_or_e_reader_network_operator_controlled_removable_secure_element`
- `tag`
- `vehicle`
- `watch_contactless_chip_or_not_network_operator_controlled_secure_element`
- `watch_or_wristband`
- `watch_payment_application_host_processor`
- `watch_payment_application_tee_host_processor`
- `wristband` | | `wallet_type`
`string`
`optional` | The type of wallet. This can be one of:
- `apple_pay`
- `google_pay`
- `merchant`
- `samsung_pay` | ## Acquirer object | Field name | Description | | --- | --- | | `id`
`string` | The unique identifier for the acquirer. | ## Merchant object | Field name | Description | | --- | --- | | `merchant_id`
`string` | The merchant's unique identifier.

This may vary from one acquirer to another. | | `name`
`string` | The merchant's name. | | `city`
`string` | The city of the merchant's address. | | `state`
`string`
`optional` | For US merchants, the state of the merchant's address.

For other merchants, the value is `null`. | | `country`
`string` | The country of the merchant's address.
Standard – [ISO-3 code](https://www.checkout.com/docs/developer-resources/testing/codes/country-codes.md)
Example – `USA` | | `category_code`
`string` | The four-digit [merchant category code (MCC)](https://www.checkout.com/docs/developer-resources/testing/codes/merchant-category-codes.md) for the transaction.

Merchants can have multiple category codes. | | `street_address`
`string` | The street of the merchant's address. | ## Transit information object | Field name | Description | | --- | --- | | `transaction_type`
`string` | The authorization model the transit operator uses. This can be one of:
- `authorized_aggregated_split_clearing`
- `debt_recovery`
- `other`
- `prefunded`
- `post_authorized_aggregated`
- `post_authorized_aggregated_maestro`
- `real_time_authorized` | | `transportation_method`
`string` | The transport method used to travel. This can be one of:
- `cable_car`
- `coach`
- `commuter_train`
- `express_commuter_train`
- `high_speed_train`
- `funicular_train`
- `inter_city`
- `interurban_bus`
- `light_train_mass_transit`
- `locomotive`
- `other`
- `para_transit`
- `parking`
- `powered_motor_vehicle`
- `regional_train`
- `rural_bus`
- `self_drive_vehicle`
- `taxi`
- `toll`
- `trailer`
- `train`
- `urban_bus`
- `water_borne_vehicle` | ## Reference transaction object | Field name | Description | | --- | --- | | `transaction_id`
`string` | The reference transaction's unique identifier, prefixed with `trx`. | | `reference_type`
`string` | The type of reference transaction. This can be one of:

- `original_mit` – An initial merchant-initiated transaction
- `original_recurring` – An initial recurring transaction | ## ThreeDSecure object | Field name | Description | | --- | --- | | `requested_exemption_or_exclusion`
`string`
`optional` | The exemption or exclusion requested by the acquirer/merchant. This can be one of:
- `acquirer_transaction_risk_analysis`
- `authentication_outage_exception`
- `low_value_payment`
- `merchant_initiated_transaction`
- `not_requested recurring_payment`
- `secure_corporate_payment`
- `strong_customer_authentication_delegation` | | `sca_not_required_reason`
`string`
`optional` | The exemption or exclusion used to approve an unauthenticated authorization. This can be one of:

- `acquirer_transaction_risk_analysis`
- `authentication_outage_exception`
- `issuer_secure_corporate_payment`
- `low_value_payment`
- `merchant_initiated_transaction`
- `mobile_order_telephone_order`
- `one_leg_out`
- `other`
- `recurring_payment`
- `secure_corporate_payment`
- `strong_customer_authentication_delegation`
- `zero_amount_asi` | | `authentication_status`
`string`
`optional` | The outcome of the authentication process for an authorization. This can be one of:

- `authenticated` – The authorization was authenticated successfully.
- `authentication_attempted` – Either the issuer or cardholder did not participate in the authentication flow.
- `not_authenticated` – Either the authentication failed or the acquirer did not initiate authentication.
- `not_applicable` – Authentication was not required for this authorization. | ## POS object | Field name | Description | | --- | --- | | `country_code`
`string` | The country where the PoS is located.
Standard – [ISO alpha-3 country code](https://www.checkout.com/docs/developer-resources/testing/codes/country-codes.md)
Example – `USA` | | `postal_code`
`string` | The ZIP or postal code where the PoS is located. | | `card_present`
`string` | Indicates if the card was present to initiate the transaction. This can be one of:

- `not_present`
- `present`
- `unspecified` | | `cardholder_present`
`string` | Indicates if the cardholder was present to initiate the transaction. This can be one of:
- `not_present`
- `present`
- `unspecified` | | `entry_mode`
`string` | The way the card initiated the transaction at the terminal. This can be one of:

- `contact_chip`
- `contactless_chip`
- `contactless_magstripe`
- `credential_on_file`
- `ecommerce`
- `magstripe`
- `manual`
- `optical_character_recognition`
- `optical_code`
- `server`
- `other` | ## Authorization relay object | Field name | Description | | --- | --- | | `result`
`string` | The final authorization decision returned by the [authorization relay](https://www.checkout.com/docs/card-issuing/manage-issuing-transactions/relay-authorization-requests.md). This can be one of:

- `approved` – The authorization is approved.
- `declined` – The authorization is declined. In this case, you receive an [Authorization declined](https://www.checkout.com/docs/developer-resources/event-notifications/event-types/authorization_declined.md) webhook.
- `not_applied` – The authorization request was not relayed to you. For example, because the request was already declined. | | `client_response`
`object`
`optional` | The authorization decision details returned by your server. | | `client_response.result`
`string` | Your authorization decision. This can be one of:

- `approved` – You approved the authorization.
- `declined` – You declined the authorization.
- `invalid_response` – Your response to the authorization request was invalid.
- `server_error` – Your server encountered an error.
- `timeout` – You did not provide a decision within the timeout limit.
- `unauthorized` – The authorization request could not be authenticated.

If you have stand-in mode enabled for this entity, it is triggered if `result` is `server_error` or `timeout`. | | `stand_in`
`object`
`optional` | The authorization decision details returned by [stand-in mode](https://www.checkout.com/docs/card-issuing/manage-issuing-transactions/relay-authorization-requests.md), if enabled. | | `stand_in.result`
`string` | The authorization decision returned by stand-in mode. This can be one of:
- `approved` – Stand-in mode approved the authorization.
- `declined` – Stand-in mode declined the authorization.
- `not_applied` – Stand-in mode was not triggered. |