This template is triggered when a balance transfer is done between two currencies of the same customer using the Balance Transfer Within Wallet API.
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": "0498f10f-1968-494f-9f7a-454ed23942a",
"customerHashId": "5ccc078b-8cc8-4d49-b231-73030f01b501",
"walletHashId": "e83cca77-8b63-4a25-b580-1d872380ef29",
"transactionCurrency": "SGD",
"transactionAmount": "10.00",
"transactionDate": "2020-09-29 09:24:46",
"authCurrency": "SGD",
"authAmount": "10.00",
"exchangeRate":"0.8883",
"markupRate":"0.5",
"authCode": "114733",
"template": "CARD_BALANCE_TRF_BETWEEN_CURRENCIES_WITHIN_SAME_WALLET_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 |
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 |
authCurrency | This field contains the three-letter ISO-4217 authorization currency code. | String |
authAmount | The authorization amount for the transaction. | String |
exchangeRate | The exchange rate from the source currency to the destination currency, for example, 1 USD is equivalent to 1.392 SGD. | String |
markupRate | The transaction markup applicable on the currency conversion between the source and the destination. This is a percentage. | String |
authCode | This field contains the authorization code of a transaction. | String |
template | The value for this field is CARD_BALANCE_TRF_BETWEEN_CURRENCIES_WITHIN_SAME_WALLET_WEBHOOK . | String |