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.
CoinWithdrawal created CoinWithdrawal status changed CoinWithdrawal status changed
Copy {
"type": "CoinWithdrawal",
"event": "created",
"data": {
"id": "09968790-5f14-442d-a9a4-0c2bd09e0766",
"custom_id": "CP39563937491",
"customer_id": null,
"address": "2MvavRrBCRVUm9JNSGmukeBWzU3A1ACvJne",
"network": "bitcoin",
"txid": null,
"status": "pending",
"charged_amount": "10.17",
"charged_currency": "EUR",
"received_amount": "0.00105461",
"received_currency": "BTC",
"network_fee": "0.0000054",
"network_fee_level": "fast",
"fee": "0.0",
"fee_currency": "BTC",
"exchange": {
"fee": "20.21",
"pair": "BTCEUR",
"rate": "9482.0979",
"fee_currency": "EUR"
},
"risk": null,
"created_at": "2020-02-07T09:07:26+00:00"
}
}
Copy {
"type": "CoinWithdrawal",
"event": "status_changed",
"data": {
"id": "09968790-5f14-442d-a9a4-0c2bd09e0766",
"custom_id": "CP39563937491",
"customer_id": null,
"address": "2MvavRrBCRVUm9JNSGmukeBWzU3A1ACvJne",
"network": "bitcoin",
"txid": null,
"status": "processing",
"charged_amount": "10.17",
"charged_currency": "EUR",
"received_amount": "0.00105461",
"received_currency": "BTC",
"network_fee": "0.0000054",
"network_fee_level": "fast",
"fee": "0.0",
"fee_currency": "BTC",
"exchange": {
"fee": "20.21",
"pair": "BTCEUR",
"rate": "9482.0979",
"fee_currency": "EUR"
},
"risk": null,
"created_at": "2020-02-07T09:07:26+00:00"
}
}
Copy {
"type": "CoinWithdrawal",
"event": "status_changed",
"data": {
"id": "09968790-5f14-442d-a9a4-0c2bd09e0766",
"custom_id": "CP39563937491",
"customer_id": null,
"address": "2MvavRrBCRVUm9JNSGmukeBWzU3A1ACvJne",
"network": "bitcoin",
"txid": "c01d93c268ee884f09c586c89340ed35b5b05fba5a1bb726924f2dd1eb9319b6",
"status": "completed",
"charged_amount": "10.17",
"charged_currency": "EUR",
"received_amount": "0.00105461",
"received_currency": "BTC",
"network_fee": "0.0000054",
"network_fee_level": "fast",
"fee": "0.0",
"fee_currency": "BTC",
"exchange": {
"fee": "20.21",
"pair": "BTCEUR",
"rate": "9482.0979",
"fee_currency": "EUR"
},
"risk": null,
"created_at": "2020-02-07T09:07:26+00:00"
}
}