POST /merchants
Authentication
Requires a Bearer token (Authorization: Bearer <token>). API key authentication is not accepted for this endpoint.
Request body
The display name for the new merchant. This name appears in the dashboard and on invoices.
Response fields
A201 Created response is returned on success.
The UUID of the newly created merchant.
Example request
Example response
Error responses
| Status | Description |
|---|---|
400 | Invalid request body. The detail field describes the validation error. |
401 | Missing or invalid Bearer token. |
403 | Valid credentials but insufficient permissions to create a merchant. |