Create B2B contractor invoice
create_b2b_invoiceCreate a merchant-direct Base token invoice. New automated payments require a durable EOA authorization journal and a configured provider. No active protocol fee; no generic bank-wire authority, independent delivery or contract-wallet guarantee.
Example tool call
This call uses example arguments supplied in the tool’s input schema.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"memo": "Sprint #14 Milestones",
"merchant": "0xc59c85e661d34084a7769f955d17fd38254a6235",
"amount_usdc": 50000,
"client_name": "Apex AI"
},
"name": "create_b2b_invoice"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| memo | No | Engagement scope / milestone description (optional). | |
| merchant | Yes | Beneficiary contractor Base EVM wallet address (0x...). | |
| referrer | No | Optional attribution reference. Referral payouts and protocol fees are not active. | |
| amount_usdc | Yes | Invoice total in USDC (e.g. 50000). | |
| client_name | No | Client enterprise organization name (optional). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tool | No | ||
| scope | No | ||
| valid | Yes | ||
| status | No | ||
| pay_url | Yes | ||
| merchant | No | ||
| cart_hash | No | ||
| invoice_id | Yes | ||
| amount_usdc | No | ||
| invoice_url | Yes | ||
| protocol_fee_usdc | No |