ghl_saas_update_location_wallet_balance
Adds or adjusts complimentary wallet credits for a specific location. Use an agency-level token; partial updates are supported via updateMask.
Instructions
REQUIRES AN AGENCY-LEVEL (Company) TOKEN — spec security is Agency-Access-Only. Adds/adjusts complimentary wallet credits for the given location. Update Location Wallet Balance Update the wallet balance or complimentary credit settings for a specific location. Supports partial updates via updateMask field (AIP-134 compliant). Endpoint: POST /saas/companies/{companyId}/locations/{locationId}/wallet-balance/complimentary-credits (Version header: v3; source: v3/saas-api-v3.json) Requires an Agency (company-level) token. OAuth scopes: saas/company.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": {
"companyId": "<companyId>",
"locationId": "<locationId>",
"body": "<body>"
},
"name": "ghl_saas_update_location_wallet_balance"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| body | Yes | Request body (schema carried verbatim from the official OpenAPI spec). | |
| companyId | Yes | Company ID that owns the location | |
| locationId | Yes | Location ID to update wallet balance for |