Create an onramp quote
Creates an onramp quote — a short-lived, priced offer to convert fiat into the
crypto held by the wallet identified by wallet_id.
source_currency is the fiat being paid in (e.g. NGN); the wallet’s own currency
(e.g. USDC) is the destination. source_network is the fiat rail (e.g. bank,
mobile_money). destination_network is optional — when omitted it is derived from
the wallet’s newest active credential, defaulting to solana when the wallet has no
active credential; when supplied it must be a network the wallet currency supports.
phone_number (optional, international/E.164 format) and provider_id (optional,
a prov_… id) are accepted. When source_network is mobile_money, a payer phone
must be resolvable — either phone_number is supplied or the customer has a phone on
their profile — and provider_id is required. reference is optional and echoed
back as the quote reference.
The quote is created with status: active and an expires_at in the near future.
You can optionally pass source_currency and destination_currency as consistency checks — if they do not match the wallet or fiat corridor, we reject the request immediately.
Authorizations
API key issued during merchant onboarding.
Headers
Optional client-supplied key. Identical key + identical body within 24h replays the original response. Identical key + different body returns 409 idempotency_conflict. The hash is over raw bytes — clients retrying must send the byte-identical body; a re-serialised JSON payload will produce a different hash and a 409. Strongly recommended for retry-safe clients.
^[A-Za-z0-9_\-]{8,255}$Body
CreateOnrampQuoteDto
64^[A-Z0-9]{2,8}$^\d+(\.\d+)?$mobile_money, bank, solana, base, ethereum mobile_money, bank, solana, base, ethereum ^\+[1-9]\d{6,14}$64128