saas_api_generate_payment_link
Generate payment links for SaaS subscriptions directly in GoHighLevel. Create secure payment URLs for customers with agency-level tokens.
Instructions
Update SaaS subscription (requires an agency-level token, not a location PIT)
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": {
"subscriptionId": "<subscriptionId>",
"customerId": "<customerId>",
"companyId": "<companyId>"
},
"name": "saas_api_generate_payment_link"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| companyId | Yes | Company ID | |
| customerId | Yes | Customer ID | |
| locationId | No | Defaults to GHL_LOCATION_ID when omitted. | |
| subscriptionId | Yes | Subscription ID |