Channel Webhooks
Click the tabs below to view what webhooks you will receive from Coindirect when a merchant's customer completes their payment.
The scenario in this example is the following:
The customer broadcasts their transaction on the network to send funds to a channel address that is tied to their user account in the merchant's platform
Coindirect detects that inbound cryptocurrency transaction at the channel's adress and sends
"event": "transactionDetected"
webhook to notify the merchantThe cryptocurrency transaction gets the required number of confirmations on the network - it usually takes from a few seconds to several mintues
Coindirect then updates the channel payment status from
DETECTED
toCOMPLETE
andsends
"event": "transactionConfirmed"
webhook to notify the merchantThe merchant will want to look at the
displayAmount
field to get the amount that the customer's payment resulted in. This is the exact amount that the customer's balance un the merchant's plarform should be increased by
Webhook Payload Data
Parameter | Type | Description |
| string | Parent channel's destination address |
| string | Parent channel's UUID |
| number | Payment creation date |
| number | Payment amount. This is the exact amount that the customer's balance un the merchant's plarform should be increased by |
| string | Payment currency e.g. |
| object | Display currency spot rate details |
| string | Base currency e.g. |
| string | Counter currency e.g. |
| number | Spot rate |
| object | Wallet currency spot rate |
| string | Base currency e.g. |
| string | Counter currency e.g. |
| number | Wallet currency spot rate |
| number | Processing fee amount |
| string | Processing fee currency |
| string | Cryptocurrency transaction hash |
| number | Payment last update date |
| string | Merchant ID |
| number | The amount of received cryptocurrency |
| string | Cryptocurrency code |
| string | Channel reference ID. Payments always inherit their parent channel |
| object | Provides risk details after BVNK runs automated tx risk checks on its side |
| string | Risk level. Can |
| string | The resource name that the transaction is connected to |
| string | The resource category. E.g. Exchange or Dark Market, etc |
| string | Payment status |
| number | Destination tag (in the case of XRP) |
| string | Payment UUID |
| number | The amount credited to the merchant's wallet on Coindirect |
| string | Wallet currency |
See the Webhooks page to get basic information on webhooks and validation.
WebhooksChannels endpoints.
ChannelsLast updated