The Create Merchant endpoint creates a new merchant account. Merchants are the top-level container for invoices, balances, API keys, and settings in IteraPay. You must authenticate with a Bearer token — API keys cannot be used to create new merchants.Documentation Index
Fetch the complete documentation index at: https://docs.iterapay.com/docs/llms.txt
Use this file to discover all available pages before exploring further.
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. |