Skip to main content

Create a Sub-Merchant

Create a sub-merchant to display a custom commercial name to the payer during transactions.

Endpoint

POST /api/v1/sub-merchant

Headers

NameTypeRequiredDescription
AuthorizationstringYesBearer YOUR_API_KEY
Content-TypestringYesapplication/json

Request Body

{
  "name": "My Store",
  "commercialName": "My Store SN",
  "countries": ["SN", "CI"],
  "description": "Online store",
  "legalName": "My Store SARL",
  "businessActivity": "E-commerce",
  "managerName": "John Doe",
  "websiteURL": "https://mystore.com",
  "phoneNumber": "+221771234567",
  "city": "Dakar",
  "address": "123 Commerce Street",
  "zipcode": "12000"
}

Parameters

ParameterTypeRequiredDescription
namestringYesInternal name (visible only in your dashboard)
commercialNamestringYesName displayed to the payer on the payment screen
countriesstring[]YesActive countries: SN, CI, CM, BJ, BF, GN
descriptionstringNoFree description
legalNamestringNoLegal company name
businessActivitystringNoBusiness activity
managerNamestringNoManager name
websiteURLstringNoWebsite URL
phoneNumberstringNoPhone number
citystringNoCity
addressstringNoFull address
zipcodestringNoZip code

Success Response (201)

{
  "success": true,
  "message": "Sub-merchant created successfully",
  "data": {
    "subMerchantId": "sm-7f4a9940c621",
    "name": "My Store",
    "commercialName": "My Store SN",
    "countries": ["SN", "CI"],
    "isActive": true,
    "isDefault": false,
    "CREATED_AT": "2026-03-15T03:47:32.000Z"
  }
}
Use the returned subMerchantId in your transactions via the sub_merchant_id field.