Update a Sub-account
Update a sub-account Information
Method and URL
PUT
| [BASE_URL]
/v1/sub-merchants/:id
Request
Example Body Request Payload
{
"name": "Acme.inc",
"description": "Updated Description",
"logo": "some-url/company-logo.png",
"merchantEmail": "admin@acme.inc",
"merchantPhone": "08123456789",
"address": "company address",
"postCode": "123456"
}
Request Body Schema
Schema Path
Description
Specifications
name
Name of the sub-merchant
Optional
description
Description of the sub-merchant
Optional
logo
cloud storage URL of the sub-merchant logo
Optional
merchantEmail
Email Address of the sub-merchant
Optional
Unique
merchantPhone
Phone Number of the sub-merchant
Optional
address
Full Address of Sub-merchant's Company
Optional
postCode
Postal code of the sub-merchant company address
Optional
Response
Example Response Body
{
"code": "00",
"message": "Success",
"data": {
"uuid": "d8361719-290b-4b80-8e75-8329321a4000",
"name": "Reforza Corporation LTD",
"shortName": "RCI5",
"description": "Technologia Company",
"address": "Menteng, Jakarta Pusat",
"postCode": "60271",
"logo": "some-url/company-logo.png",
"merchantEmail": "reforza@corp.id",
"merchantPhone": "081299996666",
"picEmail": "admin@corp.inc",
"picPhone": "081299996666",
"picName": "Reforza",
"picJobTitle": "owner",
"businessType": "COMPANY",
"businessStructure": "PERSEROAN TERBATAS",
"businessCountry": "ID",
"parentIndustry": "Airlines",
"childIndustry": "Airlines, Air Carriers",
"mcc": "4511",
"countryOfEntity": "ID",
"digitalStatus": "Digital",
"parentId": "e485e01b-ff59-4a47-bb7d-9b39064f3388"
}
}
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