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
address
string
Parent channel's destination address
channelId
string
Parent channel's UUID
dateCreated
number
Payment creation date
displayAmount
number
Payment amount. This is the exact amount that the customer's balance un the merchant's plarform should be increased by
displayCurrency
string
Payment currency e.g. JPY
displayRate
object
Display currency spot rate details
displayRate.base
string
Base currency e.g. EUR
displayRate.counter
string
Counter currency e.g. JPY
displayRate.rate
number
Spot rate
exchangeRate
object
Wallet currency spot rate
exchangeRate.base
string
Base currency e.g. ETH
exchangeRate.counter
string
Counter currency e.g. EUR
exchangeRate.rate
number
Wallet currency spot rate
feeAmount
number
Processing fee amount
feeCurrency
string
Processing fee currency
hash
string
Cryptocurrency transaction hash
lastUpdated
number
Payment last update date
merchantId
string
Merchant ID
paidAmount
number
The amount of received cryptocurrency
paidCurrency
string
Cryptocurrency code
reference
string
Channel reference ID. Payments always inherit their parent channel reference
risk
object
Provides risk details after BVNK runs automated tx risk checks on its side
risk.level
string
Risk level. Can LOW
, MEDIUM
, HIGH
or SEVERE
risk.resourceName
string
The resource name that the transaction is connected to
risk.resourceCategory
string
The resource category. E.g. Exchange or Dark Market, etc
status
string
Payment status
tag
number
Destination tag (in the case of XRP)
uuid
string
Payment UUID
walletAmount
number
The amount credited to the merchant's wallet on Coindirect
walletCurrency
string
Wallet currency
See the Webhooks page to get basic information on webhooks and validation.
Channels endpoints.
Last updated