Coin Withdrawal callbacks
Handling callbacks correctly is crucial to make sure your integration’s business logic works as expected. It is highly recommended to validate payment statuses and callbacks before acting on it inside your system.
Refer to this section to get more information on what callbacks are and how to validate them before acting on it inside your system.
Event
Description
created
A CoinWithdrawal transaction has been created
status_changed
The CoinWithdrawal transaction has changed its status
Refer to this section to get more information on CoinWithdrawal transaction statuses.
CoinWithdrawal created
CoinWithdrawal status changed
CoinWithdrawal status changed
1
{
2
"type": "CoinWithdrawal",
3
"event": "created",
4
"data": {
5
"id": "09968790-5f14-442d-a9a4-0c2bd09e0766",
6
"custom_id": "CP39563937491",
7
"customer_id": null,
8
"address": "2MvavRrBCRVUm9JNSGmukeBWzU3A1ACvJne",
9
"txid": null,
10
"status": "pending",
11
"charged_amount": "10.17",
12
"charged_currency": "EUR",
13
"received_amount": "0.00105461",
14
"received_currency": "BTC",
15
"network_fee": "0.0000054",
16
"network_fee_level": "fast",
17
"fee": "0.0",
18
"fee_currency": "BTC",
19
"exchange": {
20
"pair": "BTCEUR",
21
"rate": "9482.0979"
22
},
23
"risk": null,
24
"created_at": "2020-02-07T09:07:26+00:00"
25
}
26
}
Copied!
1
{
2
"type": "CoinWithdrawal",
3
"event": "status_changed",
4
"data": {
5
"id": "09968790-5f14-442d-a9a4-0c2bd09e0766",
6
"custom_id": "CP39563937491",
7
"customer_id": null,
8
"address": "2MvavRrBCRVUm9JNSGmukeBWzU3A1ACvJne",
9
"txid": null,
10
"status": "processing",
11
"charged_amount": "10.17",
12
"charged_currency": "EUR",
13
"received_amount": "0.00105461",
14
"received_currency": "BTC",
15
"network_fee": "0.0000054",
16
"network_fee_level": "fast",
17
"fee": "0.0",
18
"fee_currency": "BTC",
19
"exchange": {
20
"pair": "BTCEUR",
21
"rate": "9482.0979"
22
},
23
"risk": null,
24
"created_at": "2020-02-07T09:07:26+00:00"
25
}
26
}
Copied!
1
{
2
"type": "CoinWithdrawal",
3
"event": "status_changed",
4
"data": {
5
"id": "09968790-5f14-442d-a9a4-0c2bd09e0766",
6
"custom_id": "CP39563937491",
7
"customer_id": null,
8
"address": "2MvavRrBCRVUm9JNSGmukeBWzU3A1ACvJne",
9
"txid": "c01d93c268ee884f09c586c89340ed35b5b05fba5a1bb726924f2dd1eb9319b6",
10
"status": "completed",
11
"charged_amount": "10.17",
12
"charged_currency": "EUR",
13
"received_amount": "0.00105461",
14
"received_currency": "BTC",
15
"network_fee": "0.0000054",
16
"network_fee_level": "fast",
17
"fee": "0.0",
18
"fee_currency": "BTC",
19
"exchange": {
20
"pair": "BTCEUR",
21
"rate": "9482.0979"
22
},
23
"risk": null,
24
"created_at": "2020-02-07T09:07:26+00:00"
25
}
26
}
Copied!

How to start receiving coin withdrawal callbacks

Log in to your account and navigate to a Settings → API page where you will find a toggle switch called "I want to receive callbacks for coin withdrawal transactions":
Last modified 1yr ago