Reference
lg_billing_upgrade_link: Suggest a paid plan to the owners
Suggest a paid plan to the organization's owners: get a link for an owner to review and pay. Nothing is bought here.
- Changes data: yes
- Credential scope:
agents:write(an API key's scopes, or what you allowed when connecting with OAuth) - Assistant level: an assistant at Read, draft and propose or above
Inputs
| Field | Type | Required | Notes |
|---|---|---|---|
body | object (plan, interval, seats) | yes | |
body.plan | "starter" | "pro" | "business" | yes | |
body.interval | "month" | "year" | no | |
body.seats | integer | no |
Example MCP call
A tools/call request to https://manage.restolayer.com/mcp:
{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "lg_billing_upgrade_link",
"arguments": {
"body": {
"plan": "starter",
"interval": "year",
"seats": 5
}
}
}
}Example REST call
The same thing over REST (POST /v1/billing/upgrade-link):
curl -s -X POST "https://manage.restolayer.com/v1/billing/upgrade-link" \
-H "Authorization: Bearer $LG_API_KEY" \
-H "Content-Type: application/json" \
-d '{"plan":"starter","interval":"year","seats":5}'All tools: MCP tools. Connecting: connect your assistant.