Virtual Account - Withdrawals from a Gas Pump contract addresses

Modified on Thu, 28 Dec 2023 at 12:09 PM

Gas Pump contract addresses can be attached to Virtual Accounts.


At the time to execute a withdrawal of a Gas Pump contract address attached to a Virtual Account, there's a few steps to follow, so the balance is updated on the Virtual Account.


Withdrawal steps:

  1. Check if a Gas Pump contract address has been activated on-chain - see V3 REST API endpoint
  2. Create a withdrawal request to the Virtual Account - see V3 REST API endpoint
  3. Transfer the assets from the Gas Pump contract address - see V3 REST API endpoint
  4. Mark the withdrawal on the virtual account as completed - see V3 REST API endpoint


You can find the description of how to mimic this via the guide available at the following link.

Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select atleast one of the reasons
CAPTCHA verification is required.

Feedback sent

We appreciate your effort and will try to fix the article