This event is triggered whenever any transaction is approved. This includes:
https://<customerHost:Port>/webhook
Field | Description |
---|
Content-Type | application/json |
curl --location --request POST 'https://<customerHost:Port>/webhook' \
-H 'content-type: application/json' \
-d '{
"cardHashId": "162ada56-f5a4-46de-b665-c5e64d34a621",
"cardNumber": "4001-35xx-xxxx-1950",
"transactionCurrency": "SGD",
"transactionAmount": "10.00",
"transactionDateTime": "2020-09-29 09:24:46",
"transactionClass": "POS",
"billingCurrency": "SGD",
"billingAmount": "10.0",
"postAuthCurrency": "SGD",
"postAuthAmount": "10.0",
"walletBalance": "102.00",
"mcc": "5499",
"merchantName": "Frankie Tibbs",
"merchantCity": "MUMBAI",
"merchantCountry": "IN",
"rhaTransactionId": "112233c67-fa9a-4a4d-aaf6-246804c135d2",
"authCode": "114733",
"partnerReferenceNumber": "55648c70-fa9a-4a4d-aaf6-618174c319d2",
"template": "CARD_TXN_APPROVED_WEBHOOK"
}'
Fields | Description | Type |
---|
name | The name of a client. | String |
customerHashId | The unique customer identifier that's generated on customer creation. | UUID |
walletHashId | The unique wallet identifier that's generated simultaneously with customer creation. | UUID |
cardHashId | The unique card identifier that's generated while new/add-on card issuance. | UUID |
cardNumber | The 16-digit masked card number in the 1234-56xx-xxxx-3456 format. | String |
transactionCurrency | The three-letter ISO-4217 transaction currency code. | String |
transactionAmount | The transaction amount. | String |
transactionClass | The type of transaction. Available values include: | String |
transactionDate | The transaction date and time in the yyyy-MM-dd HH:mm:ss Coordinated Universal Time format. | String |
balanceCurrency | The three-letter ISO-4217 currency code for the wallet balance. | String |
postAuthAmount | Currency authorized for the transaction. | String |
postAuthAmount | Amount authorized for the transaction. | String |
walletBalance | The available balance in the wallet. | String |
mcc | The four-digit merchant category code. | String |
merchantName | The merchant name. | String |
merchantCountry | The two-letter ISO country code for the merchant country. | String |
merchantCity | The city where the merchant is located. | String |
authCode | The authorization code of the transaction. | String |
effectiveAuthAmount | The authorization amount value in addition to fees such as transaction markup, e-commerce fees, etc. | String |
rhaTransactionId | The unique transaction ID for Delegated Model authorization clients. This is empty only for wallet clients. | UUID |
template | Set to CARD_POS_APPROVED_WEBHOOK for this event. | String |