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"
}API to disconnect an existing payment config for given location
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"
}Use the Access Token generated with user type as Sub-Account (OR) Private Integration Token of Sub-Account.
API Version
2021-07-28 Location id
"Lk3nlfk4lxlelVEwcW"
Whether the config is for test mode or live mode. true represents config is for live payments
"true"
Successful response
Whether the custom provider config is disconnect or not. true represents config is disconnect
"true"
Was this page helpful?