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

Deposits

Individual NGN bank transfers into an onramp

Rates

Firm FX quotes with defined validity windows

Settlement

How converted stablecoins 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 three onramp types:
  1. Permanent VA → Auto-withdraw
    Long-lived virtual account that always settles to the same address.
  2. Temporary VA → Auto-withdraw
    Short-lived virtual account for one-time deposits with automatic settlement.
  3. Temporary VA → Merchant balance
    Short-lived virtual account that credits your Daya balance.
Onramps are immutable after creation.

Deposits

A deposit represents a single NGN bank transfer into an onramp. Each deposit follows a defined lifecycle from detection to settlement or review.

Rates

A rate is a firm FX quote with a defined validity window.

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 stablecoins are sent after conversion.

Auto-withdraw

Stablecoins are automatically sent to a blockchain address.

Merchant balance

Stablecoins are credited to your Daya balance for later withdrawal.

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