Create invoice
create_invoiceCreate a get-paid invoice for the spend-key owner. Returns a /r/{publicId} URL. Another agent can call pay_invoice with that URL; a human opening the link sees Vybe crypto checkout. Does not move money and does not require Approve. After sharing, call get_invoice with the publicId to check if it was paid before taking a follow-up action. Related: get_invoice, list_invoices, pay_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": {
"amount": "<amount>"
},
"name": "create_invoice"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| memo | No | Short note shown on /r/ and on the payer’s Approve card. | |
| token | No | Stablecoin. Defaults to usdc. | |
| amount | Yes | Invoice face amount as a decimal string, e.g. 25 or 5.50. | |
| feePayer | No | Who absorbs the platform fee when fees are live. creator (default) or client. | |
| expiresInHours | No | Hours until expiry. Defaults to 72. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | Yes | ||
| url | No | ||
| memo | No | ||
| token | No | ||
| amount | No | ||
| status | No | ||
| message | No | ||
| publicId | No |