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:
- Check if a Gas Pump contract address has been activated on-chain - V3 REST API endpoint
- If the Gas Pump contract address is not activated, do so - V3 REST API endpoint
- Create a withdrawal request to the Virtual Account - V3 REST API endpoint
- Transfer the assets from the Gas Pump contract address - V3 REST API endpoint
- Mark the withdrawal on the virtual account as completed - V3 REST API endpoint
Updated 7 months ago