This template is triggered when an ATM transaction is approved.
https://<customerHost:Port>/webhook
Field | Description |
---|
Content-Type | application/json |
curl --location --request POST 'https://<customerHost:Port>/webhook' \
-H 'content-type: application/json' \
-d '{
"name":"Samar",
"customerHashId":"eb61a0a7-978c-4014-80cf-164f08babae7",
"walletHashId":"4f563cb9-56e1-49a9-b70b-0b893f4643ce",
"cardHashId":"747b4427-5bab-4deb-bcbb-ad72130adf49",
"cardNumber":"4001-35xx-xxxx-9155",
"transactionCurrency":"SGD",
"transactionAmount":"10.00",
"transactionDate":"2020-09-29 09:24:46",
"balanceCurrency":"SGD",
"authAmount":"10.00",
"walletBalance":"766.86",
"mcc":"6011",
"merchantCountry":"IN",
"merchantCity":"MUMBAI",
"authCode":"006384",
"effectiveAuthAmount":"11",
"rhaTransactionId":"55648c70-fa9a-4a4d-aaf6-618174c319d2",
"template":"CARD_ATM_APPROVED_WEBHOOK"
}'
Fields | Description | Type |
---|
name | This field contains 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 | This is the 16-digit masked card number in the 1234-56xx-xxxx-3456 format. | String |
transactionCurrency | This field contains the three-letter ISO-4217 transaction currency code for the wallet balance. | String |
transactionAmount | This field contains the transaction amount. | String |
transactionDate | The transaction date and time in the yyyy-MM-dd HH:mm:ss Coordinated Universal Time format. | String |
balanceCurrency | This field contains the three-letter ISO-4217 currency code for the wallet balance. | String |
authAmount | An authorization amount for the transaction. | String |
walletBalance | The available balance in the wallet. | String |
mcc | The four-digit merchant category code. | String |
merchantCountry | This field contains the two-letter ISO-2 country code for the merchant country. | String |
merchantCity | This field accepts the merchant city. | String |
authCode | The authorization code of the transaction. | String |
effectiveAuthAmount | This field contains the authorization amount value in addition to fees such as transaction markup, ATM fees, international ATM fees, etc. | String |
rhaTransactionId | This field contains the unique transaction ID for Delegated Model authorization clients. This is empty only for wallet clients. | UUID |
template | The value for this field is CARD_ATM_APPROVED_WEBHOOK . | String |