Skip to main content
POST
Create Sub-Merchant Under A Master Merchant

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

merchant_id
string<uuid>
required

Master merchant ID.

Body

application/json
email
string<email>
required
phone_number
string
required
first_name
string
required
last_name
string
required
password
string<password>
required
kyc_status
enum<string>
required
Available options:
pending,
approved,
rejected
is_active
boolean
pin
string
Pattern: ^[0-9]{6}$

Response

Sub-merchant created

message
string
sub_merchant
object

Merchant user summary (master vendor or subvendor branch).

wallets
object[]
warning
string

Present when one or more default wallets failed. Create missing wallets manually.

wallet_errors
object[]