Skip to main content
DELETE
/
virtual-accounts
/
{account_id}
Delete virtual account
curl --request DELETE \
  --url https://api.pcxpay.com/v1/virtual-accounts/{account_id} \
  --header 'Authorization: Bearer <token>'
{
  "status": "success",
  "message": "Operation completed successfully",
  "data": {}
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

account_id
string
required

Response

Account deleted

status
enum<string>
Available options:
success,
error
Example:

"success"

message
string
Example:

"Operation completed successfully"

data
object