Delete Virtual Account

Close and delete a virtual account.

Permanently closes a virtual account. The account will no longer be able to receive deposits.

circle-exclamation

Endpoint

DELETE /v1/virtual-accounts/:accountNumber

Authentication

Header
Value

x-api-key

Your API key

Path parameters

Parameter
Type
Description

accountNumber

string

Virtual account number

Example request

curl -X DELETE https://ramp-api.ivorypay.io/api/v1/virtual-accounts/9900123456 \
  -H "x-api-key: your_api_key"

Example response

{
  "statusCode": 200,
  "success": true,
  "message": "Virtual account deleted successfully"
}

Last updated