Upcoming Callback Change12 months ago
In order to make our callbacks easier to parse and more robust for the future we are making some necessary changes to a couple parameters on our callbacks (both pending and confirmed callbacks).
result - this new parameter will take the following values: ['
sent'], similar to our /logs/ endpoint (https://cryptapi.io/docs/#/Bitcoin/btclogs), where:
pending - transaction from user is not confirmed yet;
received - received payment from the user;
sent - forwarded payment to you;
pending - this parameter will also appear on the confirmed callback, but, obviously, set to
Although it should not be a breaking change, in order to give you guys enough time to check and update your systems, these changes will be implemented a week from today, at 00:00 UTC of 27/04/2020.
As this seems to be unclear in our documentation (we will be updating it shortly), for ERC-20 tokens, if you request to be notified about the pending transactions (
&pending=1), the pending callback will trigger after we're received the payment but before we've forwarded it. In this scenario, the
pending parameter will be
This is due to the nature of ERC-20 transactions, which are really never in a "pending" status.