Merchant Account

Create merchant

Changed on

Register a new merchant account. The merchant ID is the primary identifier used in all subsequent routing and scoring calls.

post/merchant-account/create

Request

  • Base URL
    http://localhost:8080
  • URL
    http://localhost:8080/merchant-account/create
  • Auth
    API key in header x-admin-secret

Request body

merchant_idstring required
gateway_success_rate_based_decider_inputstring nullable

Example request

{
  "merchant_id": "my_merchant"
}

Response

Merchant created

messagestring
merchant_idstring
gateway_success_rate_based_decider_inputstring nullable
api_keystring nullable

Default API key minted for the new merchant. Shown only once.

Example response

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

Changes

    • breaking

      the request property became not nullable

    • info

      added the optional property to the response with the status

    • info

      the endpoint scheme security AdminSecret was added to the API