# Virtual Account

This resource represents virtual account details. A virtual account is a unique account number provisioned for a customer, allowing payments to be received and transactions to be tracked against that customer.

 - [GET /virtual-accounts](https://docs.glomopay.com/api-documentation/apis/openapi/virtual_account/getvirtualaccounts.md): Returns the customer's virtual accounts, sorted by creation date (newest first), using the customer's JWT token for access.
 - [DELETE /virtual-accounts](https://docs.glomopay.com/api-documentation/apis/openapi/virtual_account/closevirtualaccount.md): Closing active virtual accounts will be based on the specified payment type and currency. The endpoint closes all virtual accounts for a given payment type and currency. Once closed, the virtual accou
 - [POST /v2/virtual-accounts](https://docs.glomopay.com/api-documentation/apis/openapi/virtual_account/createvirtualaccountv2.md): Creates a new virtual account with the specified payment type and currency. Virtual accounts provide unique account numbers that can be used to receive payments for customers. This endpoint returns HT
 - [VirtualAccount](https://docs.glomopay.com/api-documentation/apis/openapi/virtual_account/virtualaccount.md): Schema: #/components/schemas/VirtualAccount
