Assign User to a Sub-account
Add admin user to your sub-account
Method and URL
POST
[BASE_URL]/v1/sub-merchants/admin
Request
Request Body
{
"email": "admin@acme.inc",
"name": "John Mayer"
}
Detail Parameter Request
Parameter
Data Type
Character limit
Requirement
Description
String
0-255
M
Email address of the admin user
name
String
1-255
M
Full name of the admin user
Response
Response Body
{
"code": "00",
"message": "success"
}
Detail Parameter Response
Parameter
Data Type
Requirement
Description
code
String
M
Response Code from Pivot
message
String
M
Human readable message that represent response from Pivot
Last updated