Common scenarios
- Locking in value after a deposit: A user deposits BTC. You immediately swap it to USDT to avoid exposure to BTC price movements while the funds are held.
- Timing a payout: You hold USDT and want to convert to NGN right before settling a payout, minimising the time your funds sit in a volatile position.
- Rebalancing treasury: You hold a mix of assets and want to rebalance into stablecoins at the end of each day.
How it works
1
Get a quote
Call the Create quote endpoint with your source currency, target currency, amount, and side (BUY or SELL). The response includes the current rate and the exact amount you’ll receive, along with a validity window in seconds.
2
Review and accept
If the rate is acceptable, accept the quote within the validity window using the returned
quoteId. Obiex executes the swap instantly at the quoted rate.3
Confirm the new balance
After the swap, your source wallet is debited and your target wallet is credited. You can verify the updated balance via the wallet endpoint.
There are no extra charges for trading. Obiex does not add fees on top of the quoted rate.
Supported pairs
Use the/trades/pairs endpoint to see all available trading pairs. Common pairs include:
- BTC / USDT
- ETH / USDT
- BNB / USDT
- USDT / NGNX