POS Approved
This template will be triggered when the POS transaction is approved.
https://<customerHost:Port>/webhook
Headers:
Field | Description |
---|---|
Content-Type | application/json |
Example Request:
curl --location --request POST 'https://<customerHost:Port>/webhook' \
-H 'content-type: application/json' \
-d '{
"name":"Samar",
"customerHashId":"0de1e512-e0d7-4eca-ad41-dd39325facc2",
"walletHashId":"696bad93-bda7-4e8d-8c31-318f8d6cbc5f",
"cardHashId":"a344b0c8-d27d-4db5-8194-aacdefb558ca",
"cardNumber":"4001-35xx-xxxx-1950",
"transactionCurrency":"SGD",
"transactionAmount":"10.00",
"transactionDate":"2020-09-29 09:24:46",
"balanceCurrency":"SGD",
"authAmount":"10.0",
"walletBalance":"102.00",
"mcc":"5499",
"merchantName":"Frankie Tibbs",
"merchantCountry":"IN",
"merchantCity":"MUMBAI",
"authCode":"114733"
"effectiveAuthAmount":"11",
"rhaTransactionId":"55648c70-fa9a-4a4d-aaf6-618174c319d2",
"template":"CARD_POS_APPROVED_WEBHOOK"
}'
Request Body:
Fields | Description | Type |
---|---|---|
name | This field contains the name of a client. | String |
customerHashId | Unique customer identifier generated on customer creation. | UUID |
walletHashId | Unique wallet identifier generated simultaneously with customer creation. | UUID |
cardHashId | Unique card identifier generated while new/add-on card issuance. | UUID |
cardNumber | This is the 16-digit masked card number in format 1234-56xx-xxxx-3456. | String |
transactionCurrency | This field contains the 3-letter ISO-4217 transaction currency code. | String |
transactionAmount | This field contains the transaction amount. | String |
transactionDate | The transaction date and time in yyyy-MM-dd HH:mm:ss (UTC) format. | String |
balanceCurrency | This field contains the 3-letter ISO-4217 currency code for the wallet balance. | String |
authAmount | An authorization amount for the transaction. | String |
walletBalance | The available balance in the wallet. | String |
mcc | The four-digit Merchant Category Code. | String |
merchantName | This field contains the merchant name. | String |
merchantCountry | This field contains the 2-letter ISO country code for the merchant country. | String |
merchantCity | This field contains the merchant city. | String |
authCode | An authorization code of the transaction. | String |
effectiveAuthAmount | This field contains the auth amount value in addition with fees such as transaction markup, ecommerce fees etc. | String |
rhaTransactionId | This field contains the unique transaction id for RHA clients. This will be empty only for wallet clients. | UUID |
template | The value for this field is CARD_POS_APPROVED_WEBHOOK. | String |
Updated about 5 hours ago