VA - Withdrawal from a Gas Pump deposit address

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 are 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 - V3 REST API endpoint
    1. If the Gas Pump contract address is not activated, do so - V3 REST API endpoint
  2. Create a withdrawal request to the Virtual Account - V3 REST API endpoint
  3. Transfer the assets from the Gas Pump contract address - V3 REST API endpoint
  4. Mark the withdrawal on the virtual account as completed - V3 REST API endpoint