ghl_payment_custom_provider_disconnect_config
Disconnects a location's custom payment provider live or test configuration, which stops related payment collection until the provider is reconnected.
Instructions
Disconnects the custom payment provider's live/test config. This can interrupt live payment collection at this location until reconnected. Disconnect existing provider config API to disconnect an existing payment config for given location Endpoint: POST /payments/custom-provider/disconnect (Version header: v3; source: v3/payments-v3.json) Requires a Sub-Account (location) token. OAuth scopes: payments/custom-provider.write
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"locationId": "<locationId>",
"body": "<body>"
},
"name": "ghl_payment_custom_provider_disconnect_config"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| body | Yes | Request body (schema carried verbatim from the official OpenAPI spec). | |
| locationId | Yes | Location id |