Skip to main content
POST
Resolve OTC Pricing (B2B Deposit Or Withdrawal Lane)

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
flow_type
enum<string>
required
Available options:
b2b
otc_type
enum<string>
required
Available options:
deposit,
withdrawal
asset
string
required
Example:

"USDT"

fiat_currency
string
required

Active three-letter ISO code in fiat_currencies. List via GET /api/v1/auth/fiat-currencies.

Example:

"KES"

amount_in
string
required

Positive decimal string

amount_in_type
enum<string>
required
Available options:
fiat,
crypto
network
string

tron or ethereum

Response

Resolved IDs and pricing preview (includes otc_type echo)

otc_type
enum<string>
Available options:
deposit,
withdrawal
pricing_profile_id
string<uuid>
fx_rate_quote_id
string<uuid>
flow_type
string
network
string
asset
string
fiat_currency
string
amount_in
string
amount_in_type
string
fee_bearer
string
reference_fx_rate
string
applied_fx_rate
string
fees
object
amounts
object