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.

API to disconnect an existing payment config for given account
POST https://services.leadconnectorhq.com/payments/custom-provider/disconnect

Autorizacion

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

Query parameters

locationId
string
default:"Lk3nlfk4lxlelVEwcW"
required
Account id

Body

liveMode
boolean
default:"true"
required
Whether the config is for test mode or live mode. true represents config is for live payments

Respuestas

success
boolean
default:"true"
required
Whether the custom provider config is disconnect or not. true represents config is disconnect
{
  "success": "true"
}
{}
{}
{}

Ejemplo

curl -X POST 'https://services.leadconnectorhq.com/payments/custom-provider/disconnect' \
  -H 'Authorization: Bearer YOUR_TOKEN' \
  -H 'Version: 2021-07-28' \
  -H 'Content-Type: application/json' \
  -d '{
  "liveMode": "true"
}'