Block Decline

This template is triggered when the transaction is declined due to a blocked card.

https://<customerHost:Port>/webhook

Header

FieldDescription
Content-Typeapplication/json

Request example

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_BLOCK_CARD_DECLINE_WEBHOOK"
}'

Request body

FieldsDescriptionType
nameThis field contains the name of a client.String
customerHashIdThe unique customer identifier that's generated on customer creation.UUID
walletHashIdThe unique wallet identifier that's generated simultaneously with customer creation.UUID
cardHashIdThe unique card identifier that's generated during new/add-on card issuance.UUID
cardNumberThis is the 16-digit masked card number in the 1234-56xx-xxxx-3456 format.String
transactionCurrencyThis field contains the three-letter ISO-4217 transaction currency code.String
transactionAmountThis field contains the transaction amount.String
merchantNameThis field contains the merchant name.String
templateThe value for this field is CARD_BLOCK_CARD_DECLINE_WEBHOOK.String