> ## Documentation Index
> Fetch the complete documentation index at: https://api-reference.hyperswitch.io/llms.txt
> Use this file to discover all available pages before exploring further.

# Create Merchant Account

> Curl example for creating a merchant account.

# Create Merchant Account

This public bootstrap route requires the configured admin secret.

## Request

```bash theme={null}
curl --location "$BASE_URL/merchant-account/create" \
  --header "x-admin-secret: <admin_secret>" \
  --header "Content-Type: application/json" \
  --data '{
    "merchant_id": "merchant_demo",
    "gateway_success_rate_based_decider_input": null
  }'
```

## Response

```json theme={null}
{
  "message": "Merchant account created successfully",
  "merchant_id": "merchant_demo",
  "gateway_success_rate_based_decider_input": null,
  "api_key": "DE_..."
}
```
