Skip to content

Latest commit

 

History

History
31 lines (25 loc) · 665 Bytes

File metadata and controls

31 lines (25 loc) · 665 Bytes
title Create Merchant Account
description Curl example for creating a merchant account.

Create Merchant Account

This public bootstrap route requires the configured admin secret.

Request

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

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