Resolve Active Pricing IDs + Commercial Preview (Authenticated)
Resolves the active pricing_profile_id and fx_rate_quote_id for the provided flow context,
then returns a computed commercial preview. Intended for app clients before order creation.
Liquidity context (optional vendor_id + offer_id): In the API these fields are still named
vendor_id and offer_id for historical reasons. Conceptually they mean:
vendor_id— liquidity provider: the user account that published the marketplace line.offer_id— liquidity listing: the specific published terms (asset, fiat pair, limits, status) your order will attach to for validation and lifecycle. It is not “where the customer gets USDT”: for off-ramp the customer already holds crypto in custody. The listing is the conversion/routing anchor, not the funding source of their balance.
When both IDs are sent, the liquidity listing must exist, belong to that liquidity provider, be active,
and its asset must match the request asset. Omit both for flows that do not use a listing (e.g. some p2p/b2b previews).
OTC bank deposits (B2B): Use POST /pricing/resolve-otc with otc_type: deposit so pricing rows scoped with otc_type do not collide with generic b2b resolve.
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Body
onramp, offramp, p2p, b2b, b2b2c, remittance "USDT"
"KES"
Positive decimal string
fiat, crypto tron or ethereum
Required when flow_type=remittance. Prefer active ISO 3166-1 alpha-3 code from the countries catalog. Example KEN. Legacy alpha-2 input is accepted and normalized to alpha-3
Required when flow_type=remittance. Prefer active ISO 3166-1 alpha-3 code from the countries catalog. Example UGA. Legacy alpha-2 input is accepted and normalized to alpha-3
Liquidity provider (publisher of the marketplace line). API name retained as vendor_id.
Liquidity listing id — published USDT/fiat terms the preview should align with. API name retained as offer_id.
ON_RAMP_BUY, OFF_RAMP_SELL, ON_RAMP_SELL, OFF_RAMP_BUY Response
Resolved IDs and pricing preview
Resolved ISO 3166-1 alpha-3 source country code
Resolved ISO 3166-1 alpha-3 destination country code
fiat, crypto