Amount to bill (decimal-string amount + currency), e.g. { amount: "49.00", currency: "USDT" }. Required.
Network to mint the deposit address on, e.g. "TRON" (from deposits.chains()). Required.
OptionalcustomerOptional payer email (for receipts / notifications).
OptionaldescriptionOptional description shown to the payer / stored on the link.
OptionalexpiresOptional link expiry as epoch milliseconds; past it the link reads EXPIRED and won't accept payment.
OptionalredirectOptional http(s) URL the payer is redirected to once the checkout reaches a terminal state.
The browser is returned with ?token=<token>&status=<PAID|EXPIRED|VOID> appended.
Your order/reference shown to the payer (reconciliation handle). Required.
Parameters for creating an invoice. Identical to a checkout but
chainis required — the deposit address is minted up front for that network (the response is an InvoiceCreated with the address, not a hosted-link URL).