curl --request POST \
--url https://sandbox-platform.jupico.com/v1/provisioning/submerchant/update \
--header 'Authorization: Basic <encoded-value>' \
--header 'Content-Type: application/json' \
--data '
{
"subMerchantId": "854738f390"
}
'import requests
url = "https://sandbox-platform.jupico.com/v1/provisioning/submerchant/update"
payload = { "subMerchantId": "854738f390" }
headers = {
"Authorization": "Basic <encoded-value>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Basic <encoded-value>', 'Content-Type': 'application/json'},
body: JSON.stringify({subMerchantId: '854738f390'})
};
fetch('https://sandbox-platform.jupico.com/v1/provisioning/submerchant/update', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));const url = 'https://sandbox-platform.jupico.com/v1/provisioning/submerchant/update';
const options = {
method: 'POST',
headers: {Authorization: 'Basic <encoded-value>', 'Content-Type': 'application/json'},
body: JSON.stringify({subMerchantId: '854738f390'})
};
fetch(url, options)
.then(res => res.json())
.then(json => console.log(json))
.catch(err => console.error(err));{
"code": "<string>",
"success": true,
"message": "<string>",
"data": {
"subMerchantId": "<string>",
"status": "review"
}
}Update a submerchant
Updates an existing submerchant. The submerchant must be in review status; once activated, it cannot be modified. All identity.business fields are optional. feesTemplateId and payoutBankAccounts are optional, but if payoutBankAccounts is provided, accountRouting, accountNumber, accountType, and nameOnAccount are required.
curl --request POST \
--url https://sandbox-platform.jupico.com/v1/provisioning/submerchant/update \
--header 'Authorization: Basic <encoded-value>' \
--header 'Content-Type: application/json' \
--data '
{
"subMerchantId": "854738f390"
}
'import requests
url = "https://sandbox-platform.jupico.com/v1/provisioning/submerchant/update"
payload = { "subMerchantId": "854738f390" }
headers = {
"Authorization": "Basic <encoded-value>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Basic <encoded-value>', 'Content-Type': 'application/json'},
body: JSON.stringify({subMerchantId: '854738f390'})
};
fetch('https://sandbox-platform.jupico.com/v1/provisioning/submerchant/update', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));const url = 'https://sandbox-platform.jupico.com/v1/provisioning/submerchant/update';
const options = {
method: 'POST',
headers: {Authorization: 'Basic <encoded-value>', 'Content-Type': 'application/json'},
body: JSON.stringify({subMerchantId: '854738f390'})
};
fetch(url, options)
.then(res => res.json())
.then(json => console.log(json))
.catch(err => console.error(err));{
"code": "<string>",
"success": true,
"message": "<string>",
"data": {
"subMerchantId": "<string>",
"status": "review"
}
}Authorizations
Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.
Body
Submerchant identifier
"854738f390"
Identity details for the business and its owners.
Show child attributes
Show child attributes
Bank accounts where the merchant receives payouts.
Show child attributes
Show child attributes
UUID of a fees template with predefined pricing. If omitted, the default template is used.
"415dd627-006f-4477-a2eb-47c6eb7a4534"
Response
Submerchant updated successfully
Was this page helpful?

