Deposit Callback
Webhook after receving payment.
Deposit Callback
In this step, we are sending you a webhook with the status of the payement to your provided URL in the FCF Pay dashboard as a project callback URL.
This webhook happens when you receive payment.
The request has a JSON body value like this:
order_id
it's the same order Id which you sent us in create order
user_id
The user_id is the same as you sent us in create-order
txid
txid is the deposit transaction id
unique_id
The unique id is that order unique id which you should take and call to check-source endpoint for checking the source
deposited
True/False: when it's true the transaction is successfully deposited, when it's false transaction is not deposited
confirm_blocks
Confiramation blocks count
fiat_amount
The fiat amount is converted by using CMC API
fiat_currency
The fiat_amount currency name is the same as you sent us in create-order
amount
Transaction amount
currency
The currency is transferred cryptocurrency name
fees
The fees is miners fees for transaction
decimal
The decimal depends on paid cryptocurrencies
fee_decimal
The fee decimal depends on paid cryptocurrencies
Last updated