P2P Transfer Between Wallets

This template is triggered when a P2P transfer is done between two customers under the same client using the P2P Transfer 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",
        "receiverCustomerHashId":"d422f4aa-835e-95f8-042a-044b958fc950",
        "receiverWalletHashId":"1d63ae3f-8108-94f6-c5ec-175ed70f7111",
        "authCode": "114733",
        "template": "CARD_P2P_TRANSFER_BETWEEN_WALLETS_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
authAmountThis field contains an authorization amount for the transaction.String
receiverCustomerHashIdThis is the unique customerHashId of the recipient.UUID
receiverWalletHashIdThis is the unique walletHashId of the recipient.UUID
authCodeThis field contains the authorization code of the transaction.String
templateThe value for this field is CARD_P2P_TRANSFER_BETWEEN_WALLETS_WEBHOOK.String