v1
latestOpenAPI 3.0.02026-07-246335313.6 KBMasterMerchant APIs
Add Sub-merchant
Add or Invite the new sub-merchant. The sub merchant will asked to register if Login Flow is enabled for sub-merchant.
post/api/master-merchant/{mkey}/add-merchant
Path parameters
mkeystring required
Headers
X-Portone-Client-Keystring
Authorizationstring
The Authorization header is used to include the JWT for authenticating API requests; learn how to generate the token <a href="/docs/jwt-authentication" target="_blank">in this guide</a>
Request body
Example request
{
"email_address": "jatin+testm21@portone.io",
"name": "Test Sub merchant 20",
"country": "VN",
"is_login_allowed": false,
"is_invite_merchant": false,
"use_master_merchant_creds": false,
"send_kyc_link_email": false
}Response
Successful response