Merchant Account
Create merchant
Changed onRegister 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 URLhttp://localhost:8080
- URLhttp://localhost:8080/merchant-account/create
- AuthAPI key in header x-admin-secret
Request body
Example request
{
"merchant_id": "my_merchant"
}Response
Merchant created
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
- breaking
- info
the endpoint scheme security
AdminSecretwas added to the API
- info