This template is triggered for receiving a cashback notification on a transaction.
https://<customerHost:Port>/webhook
Field | Description |
---|
Content-Type | application/json |
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"
}'
Fields | Description | Type |
---|
clientHashId | The unique client identifier that's generated and shared before the API handshake. | UUID |
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 |
authCurrency | This field contains the three-letter ISO-4217 authorization currency code. | String |
authAmount | This field contains an authorized amount. | String |
cashbackName | This field contains the defined cashback name. | String |
cashbackPeriod | This field contains the cashback period which includes the start and the end date. | String |
template | The value for this field is CARD_CASHBACK_CREDIT_WEBHOOK . | String |