get_invoice
Request a payment invoice for any SqueezeOS endpoint. Returns destination address, amount, and payment_options for XRPL (RLUSD or USDC), Xahau (native XAH), Base (USDC), or Solana (USDC-SPL). Pass currency='USDC' and chain='solana' for Solana; pass asset='XAH' (or chain='xahau') for the Xahau rail. Xahau invoices for third-party endpoints also return fee_required/fee_amount/fee_pay_to/fee_memo_hex: a flat 0.01 XAH facilitator fee paid as a second Xahau Payment (SML endpoints are fee-exempt; the XRPL rail has no facilitator fee). Free.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| asset | No | RLUSD (default, XRPL), USDC (XRPL/Base/Solana per chain), or XAH (Xahau) | |
| chain | No | solana — use Solana USDC-SPL rail; base — use Base USDC rail; xrpl — use USDC on XRPL; xahau — use Xahau native-XAH rail | |
| currency | No | USDC for Base/Solana rail; omit for RLUSD on XRPL | |
| endpoint_id | Yes | UUID of endpoint to pay for |