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
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",
"receiverCustomerHashId":"d422f4aa-835e-95f8-042a-044b958fc950",
"receiverWalletHashId":"1d63ae3f-8108-94f6-c5ec-175ed70f7111",
"authCode": "114733",
"template": "CARD_P2P_TRANSFER_BETWEEN_WALLETS_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 | This field contains an authorization amount for the transaction. | String |
receiverCustomerHashId | This is the unique customerHashId of the recipient. | UUID |
receiverWalletHashId | This is the unique walletHashId of the recipient. | UUID |
authCode | This field contains the authorization code of the transaction. | String |
template | The value for this field is CARD_P2P_TRANSFER_BETWEEN_WALLETS_WEBHOOK . | String |