P2P Transfer Between Wallets

This template will be triggered when a P2P transfer is done between two customers under the same client using P2P Transfer API.

https://<customerHost:Port>/webhook

Headers:

FieldDescription
Content-Typeapplication/json

Example Request:

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
clientHashIdUnique client identifier generated and shared before API handshake.UUID
customerHashIdUnique customer identifier generated on customer creation.UUID
walletHashIdUnique wallet identifier generated simultaneously with customer creation.UUID
transactionCurrencyThis field contains the 3-letter ISO-4217 transaction currency code.String
transactionAmountThis field contains the transaction amount.String
transactionDateThis field contains the transaction date and time in yyyy-MM-dd HH:mm:ss (UTC) format.String
authCurrencyThis field contains the 3-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 an authorization code of the transaction.String
templateThe value for this field is CARD_P2P_TRANSFER_BETWEEN_WALLETS_WEBHOOK.String