Submerchants
Update a submerchant
Changed onpatch/submerchants/{submerchantId}
Request
- The document declares no server URL.
- Authnone declared. Required headers: ApiKey, MerchantId, Environment
Path parameters
submerchantIdstring required
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": "Updated Submerchant Name",
"description": "Updated submerchant description",
"address": "456 Updated St",
"zipcode": "54321",
"city": "London",
"phoneNumber": "+9876543210"
}Response
Submerchant updated 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