Skip to main content

Card Authorisation

Card authorisation

{
"event": "card_authorisation",
"data": {
"cardAcceptorInformation": "RADIX BLOOM LTD",
"cardId": "67c868d2c8ced34c98c94335",
"cardAcceptorTerminalID": "7975RODES3E",
"cardAcceptorMerchantID": "4S74B513906",
"amount": 18558,
"reference": "6Q6QAmeG96x7CHwj",
"type": "ATM",
"acquiringInstitution": "905004",
"forwardingInstitution": "101518"
}
}

Code

{
"event": "card_authorisation",
"data": {
"cardAcceptorInformation": "RADIX BLOOM LTD",
"cardId": "67c868d2c8ced34c98c94335",
"cardAcceptorTerminalID": "7975RODES3E",
"cardAcceptorMerchantID": "4S74B513906",
"amount": 18558,
"reference": "6Q6QAmeG96x7CHwj",
"type": "ATM",
"acquiringInstitution": "905004",
"forwardingInstitution": "101518"
}
}

To verify the card-authorisation webhook notification:

  • Stringify the JSON data object received in the webhook request body

  • Hash the stringified request body object with your secret key using the sha256 hash

  • Compare the generated sha256 hash with the received X-Radix-Signature from the webhook request header to ensure authenticity

AUTHORIZATION Bearer Token
Token{{vault:json-web-token}}