This template is triggered when the transaction is declined because the card is expired.
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":"0de1e512-e0d7-4eca-ad41-dd39325facc2",
"walletHashId":"696bad93-bda7-4e8d-8c31-318f8d6cbc5f",
"cardHashId":"48534c3a-908c-4bbd-baf2-161402a2c5e0",
"cardNumber":"4001-35xx-xxxx-1950",
"transactionCurrency":"SGD",
"transactionAmount":"40.00",
"merchantName":"Frankie Tibbs",
"template":"CARD_EXPIRED_CARD_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 |
merchantName | This field contains the merchant name. | String |
template | The value for this field is CARD_EXPIRED_CARD_WEBHOOK . | String |