Disconnect existing provider config
POST/payments/custom-provider/disconnect
API to disconnect an existing payment config for given location
Request
Version stringrequired
API Version
Available options
v3locationId stringrequired
Location id
- application/json
- Body
- Example (auto)
Bodyrequired
liveModebooleanrequired
Whether the config is for test mode or live mode. true represents config is for live payments
{
"liveMode": "true"
}
Successful response
- application/json
- Schema
- Example (auto)
Schema
successbooleanrequired
Whether the custom provider config is disconnect or not. true represents config is disconnect
{
"success": "true"
}