post https://example.client.domain.com/basepath/Authorization
The Auth API 2.0 webhook permits you to participate in authorization decisions. For this webhook there is only one verb: POST
. Galileo sends information about the authorization request in the body of the HTTP request, in JSON. Your decision should be in the body of the HTTP response.
In the authorization information that Galileo sends, the response_code
is the current response code to be returned to the merchant, unless you override it. Use the response_code
field in the HTTP response body to override the authorization response code, as desired.
See the Authorization Controller API guide for more information.
Open the Recipes below to see webhook examples that you can use for testing.
{
"account": {
"account_status": "N",
"cad": 71563,
"card_status": "N",
"expiration_date": "2301",
"merchant_supplied_expiration_date": null,
"pan": "5198",
"prn": "495101003222",
"track_expiration_date": null,
"xid": 71687
},
"amounts": {
"available_funds": "4400.64",
"cashback_amount": "0.0",
"currency": "840",
"exchange_rate": "61000000",
"fee_amount": "0.00",
"local_currency": "840",
"local_currency_amount": "25.12",
"trans_amount": "25.12"
},
"auth_id": 6631254,
"auth_type": "Advice",
"bai": null,
"ecommerce": {
"is_ecommerce": false
},
"eligible_for_balance_return": false,
"emv": {
"is_emv": false
},
"entry_type": "Magnetic Stripe",
"id": "3bzANGgrTfCoj9LbGz3RkR",
"international": false,
"mcc": 5542,
"merchant": {
"acquirer_id": "006440",
"merchant_country": "840",
"merchant_description": "EXXON PRATTVILLE COOSA PRATTVILLE AL ",
"merchant_id": "125807000000000",
"merchant_postal_code": "36067",
"merchant_state": "NV",
"terminal_id": "00010102",
"terminal_network": "None"
},
"mti": "0120",
"network": "Mastercard",
"original_id": 6620572,
"partial_supported": false,
"pin_entry_capability": "Capable",
"response_code": "00",
"response_code_list": [],
"risk_score": "None",
"subnetwork": "Mastercard Banknet",
"timestamp": "20201210:084305MST",
"transaction": {
"cardholder_present": "Y",
"transaction_initiator_code": "M101",
"recurring": "N"
},
"transaction_type": "Auth",
"validation_results": {
"aav": "N",
"arqc": "N",
"avs_result": "B",
"cvv1": "N",
"cvv2": "N",
"cvv3": "N",
"offline_pin": "N",
"pin": "N"
},
"version": "2.0"
}
{
"account": {
"account_status": "N",
"cad": 41111,
"card_status": "N",
"expiration_date": "2401",
"merchant_supplied_expiration_date": "2401",
"pan": "0777",
"prn": "494101401122",
"track_expiration_date": null,
"xid": 41310
},
"amounts": {
"available_funds": "7.97",
"cashback_amount": "0.0",
"currency": "840",
"exchange_rate": "61000000",
"fee_amount": "0.00",
"local_currency": "840",
"local_currency_amount": "15.93",
"trans_amount": "15.93"
},
"auth_id": 6620500,
"auth_type": "Auth",
"bai": null,
"ecommerce": {
"is_ecommerce": false
},
"eligible_for_balance_return": false,
"emv": {
"is_emv": false
},
"entry_type": "Card Not Present",
"id": "Kz5rWJZFTB__i10ejOk7Fh",
"international": false,
"mcc": 5734,
"merchant": {
"acquirer_id": "010100",
"merchant_country": "840",
"merchant_description": "ADOBE ACROPRO SUBS 4085366000 CA ",
"merchant_id": "000372808060886",
"merchant_postal_code": "951100000",
"merchant_state": "NV",
"terminal_id": "01296759",
"terminal_network": "None"
},
"mti": "0100",
"network": "Mastercard",
"original_id": 0,
"partial_supported": false,
"pin_entry_capability": "Other",
"response_code": "51",
"response_code_list": ["51"],
"risk_score": "123",
"subnetwork": "Mastercard Banknet",
"timestamp": "20201210:084232MST",
"transaction": {
"cardholder_present": "N",
"transaction_initiator_code": "M101",
"recurring": "N"
},
"transaction_type": "Auth",
"validation_results": {
"aav": "N",
"arqc": "N",
"avs_result": "B",
"cvv1": "N",
"cvv2": "N",
"cvv3": "N",
"offline_pin": "N",
"pin": "N"
},
"version": "2.0"
}