Skip to main content

Documentation Index

Fetch the complete documentation index at: https://developers.leadwaycrm.com/llms.txt

Use this file to discover all available pages before exploring further.

Toggle capabilities for the marketplace app tied to the OAuth client
PUT https://services.leadconnectorhq.com/payments/custom-provider/capabilities

Autorizacion

Authorization
string
required
Bearer token generado desde el portal Leadway. Ver Autenticacion.
Version
string
default:"2021-07-28"
required
Version de la API.

Body

supportsSubscriptionSchedules
boolean
default:"True"
required
Whether the marketplace app supports subscription schedules or not
companyId
string
default:"Yjnwuduw83e8x30sm0"
Company id. Mandatory if locationId is not provided
locationId
string
default:"Yjnwuduw83e8x30sm0"
Account / Account id. Mandatory if companyId is not provided

Respuestas

success
boolean
default:"true"
required
Whether the custom provider capabilities are updated or not. true represents capabilities are updated
{
  "success": "true"
}
{}
{}
{}

Ejemplo

curl -X PUT 'https://services.leadconnectorhq.com/payments/custom-provider/capabilities' \
  -H 'Authorization: Bearer YOUR_TOKEN' \
  -H 'Version: 2021-07-28' \
  -H 'Content-Type: application/json' \
  -d '{
  "supportsSubscriptionSchedules": true,
  "companyId": "Yjnwuduw83e8x30sm0",
  "locationId": "Yjnwuduw83e8x30sm0"
}'