DELETE
/
accounts
/
{account_id}
curl --request DELETE \
  --url https://sandbox.hyperswitch.io/accounts/{account_id} \
  --header 'api-key: <api-key>'
{
  "merchant_id": "y3oqhf46pyzuxjbcn2giaqnb44",
  "deleted": true
}

Authorizations

api-key
string
headerrequired

Admin API keys allow you to perform some privileged actions such as creating a merchant account and Merchant Connector account.

Path Parameters

account_id
string
required

The unique identifier for the merchant account

Response

200 - application/json
merchant_id
string
required

The identifier for the Merchant Account

deleted
boolean
required

If the connector is deleted or not