Skip to content

Close a Virtual Account

Request

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
Query
payment_typestringrequired

The type of payments this virtual account accepts. 'local' for domestic payments within the same country, 'swift' for cross-border payments.

Enum:"local""swift"
Example:payment_type=local
currencystring, (iso-4217)(Currency)required

The currency of the virtual account to close in ISO 4217 format.

Example:currency=AED
curl -i -X DELETE \
  'https://api.glomopay.com/api/v1/virtual-accounts?payment_type=local&currency=AED' \
  -H 'Authorization: Bearer <YOUR_JWT_HERE>'

Responses

Virtual account closed successfully

Bodyapplication/json
messagestring
Example:"Virtual account closed successfully"
Response
{ "message": "Virtual account closed successfully" }