/v0/checkout/{invoiceId}/assetsSearch every asset this invoice can be paid with
Searches every payable asset in the registry, not just the default list, by symbol, token name, network or contract address. Every word of q must match (“usdc base”).
Only assets that a provider can route exact-output to the invoice’s settlement asset are listed (§11.3). On Bitcoin and NEAR only the native coin is listed.
Search never quotes a long list. When the whole result set is 3 assets or fewer, each match carries its option (or null: nothing routes it right now). Otherwise price the one the customer picks with GET …/options?assets=.
Limited per invoice: 240 searches an hour (429 RATE_LIMITED).
Authentication
Section titled “Authentication”The invoice’s client secret, in the x-client-secret header. It reaches this one invoice’s public endpoints and nothing else, and expires with the invoice.
Parameters
Section titled “Parameters”invoiceIdRequired · pathqRequired · queryWhat the customer typed: a symbol, a token name, a network, or a contract address. Every word must match.
limitOptional · querycursorOptional · querynextCursorfrom the previous pagepayerOptional · queryThe payer's address, so an inline quote can read their balance (§6.4)
Responses
Section titled “Responses”- 200Matching assets, best match first
Request
Section titled “Request”curl https://api.intents.fi/v0/checkout/inv_3QkR7mVt9zLpXdB2hJn6Yw/assets?q=usdc%20base&limit=10 \ -H 'x-client-secret: $CLIENT_SECRET'const response = await fetch("https://api.intents.fi/v0/checkout/inv_3QkR7mVt9zLpXdB2hJn6Yw/assets?q=usdc%20base&limit=10", { method: "GET", headers: { "x-client-secret": clientSecret, },});
if (!response.ok) { const { error } = await response.json(); throw new Error(`${error.code}: ${error.message}`);}const data = await response.json();import httpx
response = httpx.get( "https://api.intents.fi/v0/checkout/inv_3QkR7mVt9zLpXdB2hJn6Yw/assets?q=usdc%20base&limit=10", headers={"x-client-secret": client_secret},)response.raise_for_status()data = response.json()Errors
Section titled “Errors”{ "error": { "code": "INVOICE_EXPIRED", "message": "This invoice has expired" } }Switch on code, not on the message: every code has a page under Error codes. Base URL https://api.intents.fi; the whole reference is on one page.