This template is triggered when a transaction is reversed.
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":"5ccc078b-8cc8-4d49-b231-73030f01b501",
"walletHashId":"e83cca77-8b63-4a25-b580-1d872380ef29",
"cardHashId":"786d4171-1598-4abb-852a-dd24c160a719",
"cardNumber":"4001-35xx-xxxx-1950",
"transactionCurrency":"SGD",
"transactionAmount":"10",
"transactionDate":"2020-09-29 09:24:46",
"balanceCurrency":"SGD",
"walletBalance":"919",
"merchantName":"Frankie Tibbs",
"authCode" :"114723",
"rhaTransactionId":"55648c70-fa9a-4a4d-aaf6-618174c319d2",
"template":"CARD_TRANSACTION_REVERSAL_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 during 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. | String |
transactionAmount | This field contains the transaction amount. | String |
transactionDate | This field contains 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 |
walletBalance | This field contains the available balance in the wallet. | String |
merchantName | This field contains the merchant name. | String |
authCode | This field contains the authorization code of the transaction. | 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_TRANSACTION_REVERSAL_WEBHOOK . | String |