Docs//
API reference
/- Create a Virtual Account (v2)
VirtualAccount
List all Virtual Accounts
Close a Virtual Account
Create a Virtual Account...
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 HTTP 202 indicating the request has been accepted and is being processed. You will receive a webhook notification when the virtual account is activated.
Security
JWT
The type of payments this virtual account will accept. 'local' for domestic payments within the same country, 'swift' for cross-border payments.
Enum:"local""swift"
Example:"local"
- Production serverhttps://api.glomopay.com/api/v2/virtual-accounts
curl -i -X POST \
https://api.glomopay.com/api/v2/virtual-accounts \
-H 'Authorization: Bearer <YOUR_JWT_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"payment_type": "local",
"currency": "AED"
}'Response
{ "message": "Virtual account creation request is accepted.", "data": { "merchant_id": "merch_694bb0289P4Cz", "status": "pending" } }