Custom-provider marketplace app update capabilities
Toggle capabilities for the marketplace app tied to the OAuth client
PUT
/
payments
/
custom-provider
/
capabilities
Custom-provider marketplace app update capabilities
curl --request PUT \
--url https://services.leadconnectorhq.com/payments/custom-provider/capabilities \
--header 'Content-Type: application/json' \
--header 'Version: <version>' \
--data '
{
"supportsSubscriptionSchedules": true,
"companyId": "Yjnwuduw83e8x30sm0",
"locationId": "Yjnwuduw83e8x30sm0"
}
'const options = {
method: 'PUT',
headers: {Version: '<version>', 'Content-Type': 'application/json'},
body: JSON.stringify({
supportsSubscriptionSchedules: true,
companyId: 'Yjnwuduw83e8x30sm0',
locationId: 'Yjnwuduw83e8x30sm0'
})
};
fetch('https://services.leadconnectorhq.com/payments/custom-provider/capabilities', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://services.leadconnectorhq.com/payments/custom-provider/capabilities"
payload = {
"supportsSubscriptionSchedules": True,
"companyId": "Yjnwuduw83e8x30sm0",
"locationId": "Yjnwuduw83e8x30sm0"
}
headers = {
"Version": "<version>",
"Content-Type": "application/json"
}
response = requests.put(url, json=payload, headers=headers)
print(response.text){
"success": "true"
}{
"statusCode": 400,
"message": "Bad Request"
}{
"statusCode": 401,
"message": "Invalid token: access token is invalid",
"error": "Unauthorized"
}{
"statusCode": 422,
"message": [
"Unprocessable Entity"
],
"error": "Unprocessable Entity"
}Body
application/json
Last modified on March 8, 2026
Was this page helpful?
Custom-provider marketplace app update capabilities
curl --request PUT \
--url https://services.leadconnectorhq.com/payments/custom-provider/capabilities \
--header 'Content-Type: application/json' \
--header 'Version: <version>' \
--data '
{
"supportsSubscriptionSchedules": true,
"companyId": "Yjnwuduw83e8x30sm0",
"locationId": "Yjnwuduw83e8x30sm0"
}
'const options = {
method: 'PUT',
headers: {Version: '<version>', 'Content-Type': 'application/json'},
body: JSON.stringify({
supportsSubscriptionSchedules: true,
companyId: 'Yjnwuduw83e8x30sm0',
locationId: 'Yjnwuduw83e8x30sm0'
})
};
fetch('https://services.leadconnectorhq.com/payments/custom-provider/capabilities', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://services.leadconnectorhq.com/payments/custom-provider/capabilities"
payload = {
"supportsSubscriptionSchedules": True,
"companyId": "Yjnwuduw83e8x30sm0",
"locationId": "Yjnwuduw83e8x30sm0"
}
headers = {
"Version": "<version>",
"Content-Type": "application/json"
}
response = requests.put(url, json=payload, headers=headers)
print(response.text){
"success": "true"
}{
"statusCode": 400,
"message": "Bad Request"
}{
"statusCode": 401,
"message": "Invalid token: access token is invalid",
"error": "Unauthorized"
}{
"statusCode": 422,
"message": [
"Unprocessable Entity"
],
"error": "Unprocessable Entity"
}