POST
/
accounts
/
{account_id}
/
kv
HttpResponse<String> response = Unirest.post("https://sandbox.hyperswitch.io/accounts/{account_id}/kv")
.header("api-key", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"kv_enabled\": \"false\"\n}")
.asString();
{
  "merchant_id": "y3oqhf46pyzuxjbcn2giaqnb44",
  "kv_enabled": true
}

Authorizations

api-key
string
header
required

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

Body

application/json

Response

200
application/json

KV mode is enabled/disabled for Merchant Account

The response is of type object.