Assign User to a Sub-account
Add admin user to your sub-account
Method and URL
POST
| [BASE_URL]
/v1/sub-merchants/admin
Don't forget to use
X-SubMerchant-Id
of the intended Sub-account in the Request's Header Data
Request
Example Body Request Payload
{
"email": "admin@acme.inc",
"name": "john mayer"
}
Request Body Schema
Schema Path
Description
Specifications
Email address of the admin user
Required
Email Format
name
Full name of the admin user
Required
Response
Example Response Body
{
"code": "00",
"message": "success"
}
Response Data Schema
Schema Path
Description
Data Type Validation
code
Response Code from Pivot
String
message
Human readable message that represent response from Pivot
String
Last updated