Skip to main content
POST
/
payments
/
custom-provider
/
disconnect
Disconnect existing provider config
curl --request POST \
  --url https://services.leadconnectorhq.com/payments/custom-provider/disconnect \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --header 'Version: <version>' \
  --data '
{
  "liveMode": "true"
}
'
{
  "success": "true"
}

Authorizations

Authorization
string
header
required

Use the Access Token generated with user type as Sub-Account (OR) Private Integration Token of Sub-Account.

Headers

Version
enum<string>
required

API Version

Available options:
2021-07-28

Query Parameters

locationId
string
required

Location id

Example:

"Lk3nlfk4lxlelVEwcW"

Body

application/json
liveMode
boolean
required

Whether the config is for test mode or live mode. true represents config is for live payments

Example:

"true"

Response

Successful response

success
boolean
required

Whether the custom provider config is disconnect or not. true represents config is disconnect

Example:

"true"

Last modified on March 4, 2026