Card Authorization Request

Webhook received when a card receives an authorization request

{  
  "id": "f7fec166-6dfb-449f-aa7f-170ee5b23abb",  
  "event": "CARD_AUTHORIZATION",  
  "data": {
    "type": "AUTHORIZATION",
    "cardId": "6e4284ef-dccb-4a22-ad0b-a40753fc6640",
    "maskedPan": "XXXXXXXXXXXX1234",
    "amount": 50,
    "feeAmount": 0,
    "authCurrency": "USD",
    "authCode": "930108",
    "merchantName": "APPLE.COM/BILL 866-712-7753 CA",
    "merchantMID": "420429000200589",
    "merchantMCC": "7311",
    "merchantState": "",
    "merchantCity": "",
    "merchantCountry": "US",
    "terminalReference": ""
  } 
}
{  
  "id": "f7fec166-6dfb-449f-aa7f-170ee5b23abb",  
  "event": "CARD_AUTHORIZATION",  
  "data": {
    "type": "AUTHORIZATION_VERIFY",
    "cardId": "6e4284ef-dccb-4a22-ad0b-a40753fc6640",
    "maskedPan": "XXXXXXXXXXXX1234",
    "amount": 50,
    "feeAmount": 0,
    "authCurrency": "USD",
    "authCode": "930108",
    "merchantName": "APPLE.COM/BILL 866-712-7753 CA",
    "merchantMID": "420429000200589",
    "merchantMCC": "7311",
    "merchantState": "",
    "merchantCity": "",
    "merchantCountry": "US",
    "terminalReference": ""
  } 
}

Expected response types from your server to approve a transaction

{
  "type": "APPROVE",
  "reason": "APPROVE",
}

Expected response types from your server to decline a transaction

{
  "type": "DECLINE",
  "reason": "SUSPECT_FRAUD" // "CASH_REQ_EXCEED", "CLOSED_PICK" "AUTH_DECLINE" "DO_NOT_HONOUR" "FRAUDULENT_PICK" "INVALID_MERCHANT" "NO_ACTION" "NO_CASH_SERVICE" "RESTRICTED" "SEC_ERROR" "SUSPECT_FRAUD" "TXN_NOT_PERMIT" "VELOCITY_EXCEED" "BLK_MRCH"
}