curl --request PUT \
--url https://services.leadconnectorhq.com/payments/custom-provider/capabilities \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--header 'Version: <version>' \
--data '
{
"supportsSubscriptionSchedules": true,
"companyId": "Yjnwuduw83e8x30sm0",
"locationId": "Yjnwuduw83e8x30sm0"
}
'{
"success": "true"
}Toggle capabilities for the marketplace app tied to the OAuth client
curl --request PUT \
--url https://services.leadconnectorhq.com/payments/custom-provider/capabilities \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--header 'Version: <version>' \
--data '
{
"supportsSubscriptionSchedules": true,
"companyId": "Yjnwuduw83e8x30sm0",
"locationId": "Yjnwuduw83e8x30sm0"
}
'{
"success": "true"
}Use the Access Token generated with user type as Sub-Account (OR) Private Integration Token of Sub-Account.
API Version
2021-07-28 Whether the marketplace app supports subscription schedules or not
true
Company id. Mandatory if locationId is not provided
"Yjnwuduw83e8x30sm0"
Location / Sub-account id. Mandatory if companyId is not provided
"Yjnwuduw83e8x30sm0"
Successful response
Whether the custom provider capabilities are updated or not. true represents capabilities are updated
"true"
Was this page helpful?