{"uid":"cap_I4ULQvCnM-yEaRtKk0H7w","slug":"lab-paidapis-net-invoice-create-15ae6b25","name":"lab.paidapis.net Invoice Create","description":"Machine-to-machine invoicing: issue a signed invoice now (payerAddress, amountUsdc, optional lineItems/memo/dueBy); the payer settles it later at its own dynamically-priced /pay sub-resource, instead of paying synchronously like every other endpoint here.","url":"https://lab.paidapis.net/api/invoice/create","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"memo":{"type":"string","description":"Free-text note."},"dueBy":{"type":"string","description":"ISO 8601 due date (default 7 days out)."},"lineItems":{"type":"string","description":"JSON array of {\"description\",\"amountUsdc\"} objects, for record-keeping."},"amountUsdc":{"type":"number","description":"Total amount due, in USDC."},"payerAddress":{"type":"string","description":"Wallet address expected to pay this invoice."}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.001","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.001/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_nE1gtilL5OWUN6R20-Mse","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.001","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Issues a signed, deferred-payment invoice to a specified wallet address for a given USDC amount, to be settled later at a dynamic /pay sub-resource.","exampleAgentPrompt":"Create a signed USDC invoice for wallet address 0xABC123...DEF for 25 USDC, due in 14 days, with a memo saying 'API usage — March 2025' and line items for compute (20 USDC) and storage (5 USDC).","exampleUseCases":[{"title":"Freelance Web3 service billing","prompt":"Issue a USDC invoice to wallet 0x1234...ABCD for 150 USDC due by April 30th — add a memo that says 'Smart contract audit, Q1 2025' and two line items: code review for 100 USDC and report writing for 50 USDC."},{"title":"Agent-to-agent deferred payment","prompt":"My agent just completed a data enrichment job for another agent at wallet 0xDEAD...BEEF — create a signed invoice for 5.50 USDC with a note saying 'Enrichment batch job #42', due in 7 days."},{"title":"SaaS subscription renewal reminder","prompt":"Generate an invoice for wallet address 0x9999...1111 for 99 USDC with the memo 'Monthly Pro Plan — May 2025' and a due date of May 1st 2025."}],"resultDescription":"Returns a signed invoice object including a unique invoice ID, the payer wallet address, total USDC amount due, optional line items and memo, the due date, and a /pay sub-resource URL the payer can later call to settle the invoice at dynamically determined pricing.","failureModes":["Invalid or malformed payerAddress returns a validation error","amountUsdc of zero or negative value rejected","Malformed dueBy ISO 8601 string causes a parsing error","lineItems containing invalid JSON structure returns a schema error","Duplicate invoice creation for same payer/amount/memo may produce a new invoice each time (non-idempotent)","Missing required fields (payerAddress, amountUsdc) results in a 400 error"],"whenToPreferThis":"Choose this endpoint when you need to issue a deferred, asynchronous payment request rather than collecting payment synchronously. It is ideal for agent-to-agent billing, freelance crypto invoicing, or any workflow where the payer needs to settle at a later time via a separate /pay sub-resource. Prefer this over synchronous payment endpoints when payment timing is flexible or must be negotiated separately.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T12:41:31.000Z","isFirstParty":false}