generateInvoicePaymentLink
generateInvoicePaymentLinkCreate a payment link for a specific invoice so customers can pay online; optionally set a custom amount in cents below the invoice amount due.
Instructions
Generate a payment link for a specific invoice.
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": {
"invoiceId": "<invoiceId>"
},
"name": "generateInvoicePaymentLink"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| amount | No | Custom amount to charge for the invoice, in cents. Must be less than the invoice's amount due, which is in major units. | |
| invoiceId | Yes | The ID of the invoice. | |
| __userContext | No | Internal user context for multi-tenant authentication and approval workflow |