Balance Transfer Within Wallet

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

Header

FieldDescription
Content-Typeapplication/json

Request example

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

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
transactionCurrencyThis field contains the three-letter ISO-4217 transaction currency code.String
transactionAmountThis field contains the transaction amount.String
transactionDateThis field contains the transaction date and time in the yyyy-MM-dd HH:mm:ss Coordinated Universal Time format.String
authCurrencyThis field contains the three-letter ISO-4217 authorization currency code.String
authAmountThe authorization amount for the transaction.String
exchangeRateThe exchange rate from the source currency to the destination currency, for example, 1 USD is equivalent to 1.392 SGD.String
markupRateThe transaction markup applicable on the currency conversion between the source and the destination. This is a percentage.String
authCodeThis field contains the authorization code of a transaction.String
templateThe value for this field is CARD_BALANCE_TRF_BETWEEN_CURRENCIES_WITHIN_SAME_WALLET_WEBHOOK.String