VA - How to find Withdrawal Logs

There may be a time when finding the log of a Virtual Account withdrawal is required.

These logs are found via the following v3 REST API endpoint.

Example request:

curl --location 'https://api.tatum.io/v3/offchain/withdrawal?currency=BTC&pageSize=50&offset=0' \
--header 'x-api-key: {API_KEY}' // <- The API key used when creating the VA you have issues with
//response:
    {
        "id": "##",
        "date": ##
        "reference": "##",
        "accountId": "##",
        "amount": "##",
        "fee": "##",
        "status": "###",
        "attr": null,
        "multipleAmounts": ##,
        "txId": "##",
        "senderNote": "##",
        "paymentId": ##,
        "address": "##"
    },

πŸ“˜

Verify the status of the withdrawal via the parameter: "status". Possible state: "InProgress", "Cancelled", "Done"