Submerchants
Create a submerchant
Changed onpost/submerchants
Request
- The document declares no server URL.
- Authnone declared. Required headers: ApiKey, MerchantId, Environment
Headers
ApiKeystring required
Your api key. To create a key, please get into our dashboard. If you don't have access to it, please reach the Support team.
MerchantIdstring required
Your merchant ID. This information is available in our dashboard. If you don't have access to it, please reach the Support team.
Environment'live' | 'sandbox' required
Allow you to choose between the sandbox mode to perform some tests or the live mode for real world transactions.
Request body
Example request
{
"name": "Submerchant Name",
"description": "Submerchant description",
"address": "123 Main St",
"zipcode": "12345",
"city": "New York",
"phoneNumber": "+1234567890"
}Response
Submerchant created successfully
Example response
{
"id": "mch_1a2b3c",
"name": "Submerchant Name",
"defaultCurrency": "XOF",
"country": "CI",
"createdAt": "2026-08-13T09:00:00.000Z"
}Changes
- info
endpoint added
- info