spraay_invoice_create
Create payment invoices on Base for USDC, USDT, DAI, EURC, WETH. Specify token, amount, optional payer, and memo. Returns invoice ID and unsigned transaction. Costs $0.005 USDC.
Instructions
Create a payment invoice with a pre-encoded ERC-20 transfer transaction. Supports USDC, USDT, DAI, EURC, WETH on Base. Data persists in Supabase. Returns invoice ID, payment instructions, and unsigned tx. Costs $0.005 USDC.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| memo | No | Invoice description/memo (e.g. 'Web development - March 2026') | |
| token | Yes | Payment token symbol (e.g. 'USDC', 'USDT', 'DAI', 'EURC', 'WETH') | |
| amount | Yes | Invoice amount in human-readable units (e.g. '1500.00' for $1500) | |
| creator | Yes | Invoice creator/payee wallet address (e.g. '0xYourAddress') | |
| dueDate | No | Payment deadline in ISO 8601 format (e.g. '2026-04-15') | |
| recipient | No | Payer address — omit for open invoice (anyone can pay) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | Yes | True when the gateway call succeeded; false when it returned an error. | |
| data | No | The gateway response payload on success. The exact shape depends on the tool (see the tool description and the JSON in the text content block). | |
| error | No | Human-readable error message, present only when ok is false. |