create_invoice
Create an invoice for a client and get its pay link. Give an amount or line items. Needs an access token with mcp:invoices:write. Moves no money.
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": {
"accessToken": "<accessToken>",
"client_name": "<client_name>",
"client_email": "<client_email>"
},
"name": "create_invoice"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| amount | No | Total in USDC. Optional when line_items are given | |
| chains | No | Pay to your verified wallets on these chains. Default: all you have | |
| due_date | No | Optional due date, for example 2026-12-01 | |
| line_items | No | Optional. The total is their sum and they are listed on the invoice | |
| accessToken | Yes | Your Studio access token (sgl_pat_*). Can be omitted when the connection sends Authorization: Bearer sgl_pat_* | |
| client_name | Yes | Client name | |
| description | No | Optional note on the invoice | |
| expiry_days | No | Days the pay link stays open. Default 7 | |
| client_email | Yes | Client email | |
| payment_options | No | Optional payout wallets instead of your verified ones. Addresses are used exactly as given |