Cashback Credit

This template is triggered for receiving a cashback notification on a transaction.

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 '{ 
        "clientHashId":"5d9e5e64-b7a5-4fda-91b5-20b0136cd54d",
        "customerHashId":"b1370108-4bba-47cf-b85a-73aa24d63db8",
        "walletHashId":"80fadadd-6e74-4fe1-bce8-488dc42c0400",
        "authCurrency":"SGD",
        "authAmount":"2.00",
        "authCode":"CB2165129043",
        "cashbackName":"Cashback by WEEKLY scheduled job",
        "cashbackPeriod":"2020-12-07_2020-12-13",
        "template":"CARD_CASHBACK_CREDIT_WEBHOOK"
}'

Request body

FieldsDescriptionType
clientHashIdThe unique client identifier that's generated and shared before the API handshake.UUID
customerHashIdThe unique customer identifier that's generated on customer creation.UUID
walletHashIdThe unique wallet identifier that's generated simultaneously with customer creation.UUID
authCurrencyThis field contains the three-letter ISO-4217 authorization currency code.String
authAmountThis field contains an authorized amount.String
cashbackNameThis field contains the defined cashback name.String
cashbackPeriodThis field contains the cashback period which includes the start and the end date.String
templateThe value for this field is CARD_CASHBACK_CREDIT_WEBHOOK.String