Skip to main content

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:
  1. Temporary — Short-lived virtual account (~20 min), locked to a specific rate, for one-time deposits.
  2. 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

  1. Temporary — Short-lived deposit address for one-time crypto deposits.
  2. 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:
SideUse Case
BUYMerchant is buying crypto (NGN deposits → stablecoin)
SELLMerchant is selling crypto (stablecoin → NGN payouts)

Rate Application

Onramp TypeFX Rate UsedBehavior
Temporary VAsOnramp rate_idLocked at creation
Permanent VAsCurrent rateDetermined at settlement
Deposits received after a bound rate_id expires are FLAGGED.

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

PropertyTemporary VAsPermanent VAs
Lifetime25 minutesIndefinite
ReuseNever reusedFixed to one destination
DepositsOne automatic settlementMultiple deposits
ExpiryLate deposits → FLAGGEDNo expiry

Temporary VA Lifecycle

  1. Created with the onramp
  2. Active for up to 25 minutes
  3. Expires after the window closes
  4. Late deposits are FLAGGED
Daya guarantees a 25-minute deposit window for temporary virtual accounts.

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