Revenue sources
Integrators can generate revenue from trading by:- Applying a spread between Bitnob’s quoted rate and the user-facing rate
- Charging a flat or percentage-based execution fee on trades
- Offering fixed-rate trades while executing on variable backend pricing
Key terms
Revenue calculation methods
A. Spread-Based Revenue Formula: spreadEarned = bitnobOutput - userOutput Unit: Output asset, smallest unit Use when:- You fetch a quote from Bitnob
- Show a slightly different (less favorable) rate to the user
- Execute at the original Bitnob quote
- B. Fee-Based Revenue
- Formula: feeCharged = percentageFee * inputAmount
- Unit: Input asset, smallest unit
- You display and deduct a transparent fee (e.g., “1% execution fee”)
- The full quote rate is passed through to the user
Data you must store per trade
Get Order By ID returns the order fields below. Calculate the others in your own system.Recommended ledger format
Track trades in a financial ledger or database table:
Record every value as an integer in the smallest unit, not a float: sats for BTC, 6-decimal base units for USDT and USDC, and kobo for NGN. The trading API sends amounts as major-unit decimal strings, so convert them when you record a trade. See Currencies and amounts.