Docs//
API reference
/- Close a Virtual Account
VirtualAccount
List all Virtual Accounts
Create a Virtual Account (v2)
Close a Virtual Account
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 account will no longer accept payments.
Security
JWT
- Production serverhttps://api.glomopay.com/api/v1/virtual-accounts
curl -i -X DELETE \
'https://api.glomopay.com/api/v1/virtual-accounts?payment_type=local¤cy=AED' \
-H 'Authorization: Bearer <YOUR_JWT_HERE>'Response
{ "message": "Virtual account closed successfully" }