Use Cases
- Charging service fees on transactions
- Adding profit margins to conversions
How Markups Work
To add your own fees, use a two-step approach:- Customer Deposit: Create a quote for the total amount (base + markup) with a
pay_inobject - Actual Conversion: After funds are received, create a second quote for only the base amount with a
pay_outobject
Example: Markup on USDT Purchase
A customer wants to buy USDT worth 5,000 NGN. You want to charge a 10% markup (500 NGN profit).1
Create Quote for Customer Deposit
Charge the customer 5,500 NGN (5,000 NGN + 500 NGN markup):Response:
2
Finalize Deposit Transfer
Generate the temporary bank account for customer deposit:Response:Customer deposits 5,500 NGN to this bank account.
3
Monitor Transfer Status
If webhooks is setup, you’ll receive a notification when the deposit is complete. The customer’s funds are now in your balance and ready for conversion.Your balance now has 5,500 NGN.
4
Create Quote for Actual Conversion
Convert only 5,000 NGN to USDT (keeping 500 NGN as profit):Response:
5
Execute Conversion Transfer
Finalize the conversion:Result:
- Customer receives 3.12 USDT
- You spent 5,000 NGN from your balance
- 500 NGN remains in your balance as profit
Learn More
- Customer Deposits - Accept fiat and crypto deposits
- Fiat to Crypto Conversion - Convert currencies
- Webhooks Setup - Monitor transaction status
- Understanding Quotes - How quotes work