Overview
The Daya API is built around a small set of core concepts that work together to convert NGN bank transfers into stablecoins.Onramps
Configurations that define how NGN is received and settled
Offramps
Crypto deposit addresses for receiving stablecoin deposits
Merchant Withdrawals
Move funds from your Daya balance to an on-chain address
Rates
Firm FX quotes with buy/sell sides and defined validity windows
Settlement
How converted funds are delivered
Onramps
An onramp defines how NGN is received and how converted funds are settled. Each onramp specifies:- A virtual account for receiving NGN
- The FX rate behavior
- The settlement destination
Onramp Types
Daya supports two onramp types:- Temporary — Short-lived virtual account (~20 min), locked to a specific rate, for one-time deposits.
- Permanent — Long-lived virtual account, floating rate at settlement time, requires customer verification.
Offramps
An offramp generates a crypto deposit address for a customer. When crypto is deposited, it can be settled to the merchant’s internal balance or paid out as NGN to a bank account.Offramp Types
- Temporary — Short-lived deposit address for one-time crypto deposits.
- Permanent — Long-lived deposit address for recurring crypto deposits.
Merchant Withdrawals
A withdrawal moves funds from your Daya balance to an on-chain address. Withdrawals are tracked independently and can be observed through the withdrawal APIs and webhook events.Rates
A rate is a firm FX quote with a defined validity window. Rates now have a side:| Side | Use Case |
|---|---|
BUY | Merchant is buying crypto (NGN deposits → stablecoin) |
SELL | Merchant is selling crypto (stablecoin → NGN payouts) |
Rate Application
| Onramp Type | FX Rate Used | Behavior |
|---|---|---|
| Temporary VAs | Onramp rate_id | Locked at creation |
| Permanent VAs | Current rate | Determined at settlement |
Settlement Modes
Settlement defines where funds are delivered after conversion.On-chain (ONCHAIN)
Stablecoins are automatically sent to a blockchain address.
Internal balance (INTERNAL_BALANCE)
Funds are credited to your Daya balance for later withdrawal.
NGN Payout (NGN_PAYOUT)
For offramp deposits — converted funds are paid out as NGN to a bank account.
Virtual Accounts (VAs)
Virtual accounts are Nigerian Naira bank account numbers used to receive deposits.VA Properties
| Property | Temporary VAs | Permanent VAs |
|---|---|---|
| Lifetime | 25 minutes | Indefinite |
| Reuse | Never reused | Fixed to one destination |
| Deposits | One automatic settlement | Multiple deposits |
| Expiry | Late deposits → FLAGGED | No expiry |
Temporary VA Lifecycle
- Created with the onramp
- Active for up to 25 minutes
- Expires after the window closes
- Late deposits are FLAGGED
Next Steps
Onramps
Configure onramps and settlement behavior
Offramps
Crypto deposit addresses and offramp settlement
Merchant Withdrawals
Move funds from your Daya balance on-chain
Rates and Settlement
How exchange rates are applied and how funds are delivered