Merchant Account - Delete

Deletes a merchant account.

Request

DELETE /accounts/{account_id}

cURL

cURL
curl --request DELETE \
  --url https://sandbox.hyperswitch.io/accounts/{account_id} \
  --header 'api-key: <api-key>'

Authorizations

Header: api-key (string) — required.

Admin API keys allow you to perform 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

Status: 200 Content-Type: application/json

Schema

  • merchant_id (string, required) The identifier for the Merchant Account. Maximum string length: 255. Example: "y3oqhf46pyzuxjbcn2giaqnb44"

  • deleted (boolean, required) If the connector is deleted or not. Example: false

Example


Was this page helpful? Yes / No

Edit this page: https://github.com/juspay/hyperswitch/edit/main/api-reference/v1/merchant-account/merchant-account--delete.mdx Raise an issue: https://github.com/juspay/hyperswitch/issues/new?title=Issue%20on%20docs&body=Path:%20/v1/merchant-account/merchant-account--delete

Related:

  • Merchant Account - Update: https://api-reference.hyperswitch.io/v1/merchant-account/merchant-account--update

  • Merchant Account - KV Status: https://api-reference.hyperswitch.io/v1/merchant-account/merchant-account--kv-status