Create invoice
create_invoiceUse when the user wants to bill someone: creates an invoice with one line item and returns its link, where the client pays by bank transfer, crypto or the seller's own card payment link. For stablecoin payments, crypto_payment gives the wallet and send_exactly: the payer must send that exact amount, not the rounded total. Call send_invoice afterwards to email it. Pass idempotency_key so retries never create duplicates. The seller's plan and limits apply: a request over a limit fails with the reason (and where to upgrade), and one above the approval threshold returns status pending_approval with an approval_id to check with get_approval.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| amount | Yes | ||
| currency | No | ISO code, e.g. USD, EUR, USDT | USD |
| due_days | No | ||
| client_name | Yes | ||
| description | Yes | ||
| client_email | Yes | ||
| idempotency_key | No |