ghl_payment_custom_provider_delete
Permanently removes a custom payment provider integration for a location, not just its configuration; dependent payment flows will fail afterward.
Instructions
Permanently removes the custom payment provider integration itself (not just its config). Any in-flight or future payment flows depending on it will fail. Deleting an existing integration API to delete an association for an app and location Endpoint: DELETE /payments/custom-provider/provider (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>"
},
"name": "ghl_payment_custom_provider_delete"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| locationId | Yes | Location id |