Fetch Virtual Account Numbers
You can programmatically get the virtual account number tied to a deposit account in two (2) ways.
- Make a
GET
request to the List Virtual Nuban endpoint and provide the account ID of the deposit account in your query (settlementAccountId) parameter - Make use of our
include
feature to expand the VirtuaNuban relationship when you fetch a deposit account
- That is, Make a GET request to Fetch Deposit Account Endpoint and include Virtual Nuban
/api/v1/accounts/accountID?include=VirtualNuban
. See image below:
![](https://files.readme.io/8af1222-included.png)
Updated about 1 month ago