Create Negotiated FX Reference (Treasury)
Treasury or admin creates a single-use OTC deposit FX reference in otc_negotiated_fx_references. Each reference stores an IANA timezone. The reference expires at end of agreed_transaction_date in that timezone. Code format NFX-YYYYMMDD-XXXX. When timezone is omitted on create, resolution order is source_country → primary active country for fiat_currency → NEGOTIATED_FX_TIMEZONE env (default UTC).
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Body
YYYY-MM-DD in the resolved reference timezone
USDT, USDC fiat, crypto Desk reference rate (fiat per 1 crypto)
Treasury-negotiated rate (fiat per 1 crypto)
Optional IANA timezone (e.g. America/Toronto, Africa/Nairobi). Overrides corridor defaults.
Optional ISO 3166-1 alpha-2 or alpha-3. Uses countries.default_timezone when timezone is omitted.
tron, ethereum, solana Optional. Defaults to active b2b OTC deposit profile.
Response
Reference created