All endpoints require fintech API key authentication and IP allowlist verification.
FX Order Management API - Endpoints Overview
Create Limit Order
Create a new limit order to provide liquidity. Your blockchain wallet must have sufficient balance for the order.Available liquidity is automatically queried from your wallet:
- For BUY orders: you need cNGN in your wallet
- For SELL orders: you need the stablecoin (USDC/USDT) in your wallet
- Request (Create Limit Order)
- Body (Create Limit Order)
- Response (Create Limit Order)
- Error (Create Limit Order)
Update Limit Order
Update an existing limit order. You can update price, spread, amounts, or status. At least one field must be provided.You can only update your own orders. Cannot update deleted orders.
- Request (Update Limit Order)
- Body (Update Limit Order)
- Response (Update Limit Order)
- Error (Update Limit Order)
Delete Limit Order
Delete a limit order. This permanently removes the order from the orderbook.- Request (Delete Limit Order)
- Body (Delete Limit Order)
- Response (Delete Limit Order)
- Error (Delete Limit Order)
List My Limit Orders
Get list of your fintech’s limit orders with optional filters. Returns orders with real-time liquidity information.- Request (List My Limit Orders)
- Response (List My Limit Orders)
Get Orderbook
Get public orderbook view for a trading pair. Shows all active buy and sell orders from all fintechs with real-time liquidity.- Request (Get Orderbook)
- Response (Get Orderbook)
Get Orderbook Stats
Get aggregated statistics for a trading pair including total liquidity and best prices.- Request (Orderbook Stats)
- Response (Orderbook Stats)
Get Orderbook Token
Generate a Firebase custom token for real-time orderbook access. Use this token to subscribe to live orderbook updates via Firebase Realtime Database.- Request (Orderbook Token)
- Response (Orderbook Token)
Order Status Lifecycle
Orders follow a specific status lifecycle:Status Transitions
active->paused(via update)paused->active(via update)active->deleted(via delete)paused->deleted(via delete)
Liquidity Notes
Important information about liquidity:
availableLiquidityis queried in real-time from your blockchain wallet- For BUY orders: liquidity = your cNGN wallet balance
- For SELL orders: liquidity = your stablecoin (USDC/USDT) wallet balance
- Liquidity shown is informational only - actual liquidity is validated during trade matching
- Ensure your wallet has sufficient balance before creating orders
- Liquidity can change between order creation and trade execution
Best Practices
- Monitor your wallet balance regularly
- Update or pause orders if liquidity becomes insufficient
- Use appropriate spreads to account for market volatility
- Set reasonable min/max amounts based on your liquidity
- Use the
pausedstatus instead of deleting orders you may reactivate - Query orderbook stats before creating orders to understand market conditions