Skip to Content
KingsPay Docs

Delete Virtual Account

Delete a virtual account.

DELETE
/v1/virtual-accounts/{virtualAccountId}

Delete a virtual account.

Authorization

API Key
headerAuthorizationBearer <token>

Your API key for the API. You can find it in your integration settings. Starts with sk_

Path Parameters

virtualAccountId*string
Formatuuid

Header Parameters

Idempotency-Key?string

Unique key to safely retry this request. Repeating a key returns the original response instead of performing the operation again.

Response Body

OK

application/json
  1. response
data*boolean
status?string
Example Request
curl -X DELETE 'https://api.kingsplatform.net/api/v1/virtual-accounts/497f6eca-6276-4993-bfeb-53cbbbba6f08'
Example Response
{  "data": true,  "status": "string"}