Update a Sub-account
Update a sub-account Information
Method and URL
PUT [BASE_URL]/v1/sub-merchants/{uuid}
uuid from the response body whenever you create a Sub-account
Request
Request Body
{
"name": "Acme.inc",
"description": "Updated Description",
"logo": "some-url/company-logo.png",
"merchantEmail": "admin@acme.inc",
"merchantPhone": "08123456789",
"address": "company address",
"postCode": "123456"
}Detail Parameter Request
Parameter
Data Type
Character limit
Requirement
Description
name
String
1-255
O
Name of the Sub-account
description
String
1-255
O
Description of the Sub-account
logo
String
1-255
O
cloud storage URL of the Sub-account logo
merchantEmail
String
0-255
O
Email Address of the Sub-account
merchantPhone
String
1-255
O
Phone Number of the Sub-account
address
String
1-254
O
Full Address of Sub-account's Company
postCode
String
1-20
O
Postal code of the Sub-account company address
Response
Response Body
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