> ## Documentation Index
> Fetch the complete documentation index at: https://docs.daya.co/llms.txt
> Use this file to discover all available pages before exploring further.

# Offramps

## Preview the customer payout

Before a USDC/USDT-to-NGN bank payout, call
[`POST /v1/quotes`](https://docs.daya.co/api-reference/quotes/create-quote) with the source token,
crypto amount, source chain, `destination_currency: "NGN"` and the developer
fee you intend to apply. `destination_amount` is the estimated net NGN payout.

The preview creates no funding account or payout. Temporary `NGN_PAYOUT`
flows can use the returned SELL `rate_id` where required. Permanent accounts
reject `rate_id` and use pricing at settlement. This endpoint does not preview
internal merchant or customer balance settlement.

## Bank Payouts

For `NGN_PAYOUT`, resolve the bank account before creating the offramp:

1. List supported banks with [`GET /v1/banks`](https://docs.daya.co/api-reference/banks/list-banks).
2. Resolve the account with [`POST /v1/banks/resolve`](https://docs.daya.co/api-reference/banks/resolve-bank-account).
3. Send the verified `account_number` and `bank_code` in `destination_bank`.

Daya resolves and stores the account name. You do not send `account_name` in the funding account request.

> [!WARNING]
>
> Invalid bank accounts are rejected. Always resolve the bank account before creating an offramp with `NGN_PAYOUT`.

## Settlement

Choose where the crypto value goes after Daya receives the deposit.

| Settlement destination | What happens | Allowed types |
| - | - | - |
| `INTERNAL_BALANCE` | Funds are credited to your Daya balance | `PERMANENT` |
| `CUSTOMER_NGN_BALANCE` | USDC or USDT is converted and credited to the funding account customer's NGN balance | `PERMANENT` |
| `NGN_PAYOUT` | Funds are converted to NGN and paid to a Nigerian bank account | `TEMPORARY`, `PERMANENT` |

Temporary offramps support `NGN_PAYOUT` only. Permanent USDC and USDT offramps also support `INTERNAL_BALANCE` and `CUSTOMER_NGN_BALANCE`.

## Developer Fees

To keep a percentage of each offramp deposit, send `developer_fee.percentage` when creating the funding account. Use a decimal string from `0` to `50`. Deposit responses and deposit webhooks show the developer fee and the customer amount separately from Daya fees.

For offramps, the developer fee is deducted before the final customer amount is calculated. The deposit response and webhook show the exact fee in `developer_fee` and the amount left for the customer in `customer_amount`.
`developer_fee.percentage` is a percentage value, not basis points. For example, `0.5` means `0.5%`, `2` means `2%`, and `50` means `50%`.

## Supported Chains

Offramps support APTOS, BASE, BSC, CELO, ETHEREUM, POLYGON, SOLANA, SUI, TEMPO, and TRON. Sui supports USDC deposits only. Tempo supports USDT deposits only when enabled in production. See [Supported Chains](https://docs.daya.co/concepts/supported-chains.md) and `GET /v1/supported-chains` for the authoritative live deposit and withdrawal matrix per environment.

## Track Deposits

Use `/v1/deposits` to reconcile money received through offramps. Deposit responses include `funding_account_id`, `asset`, `chain`, and `tx_hash`.

For funding-account offramps with `NGN_PAYOUT`, NGN payout delivery happens in the background as part of deposit settlement. Track the customer-facing state from the deposit `status`, `settlement_status`, and `deposit.*` webhooks. Show states such as `Deposit received`, `Settlement processing`, `Settlement settled`, `Settlement failed`, or `Requires review`. Do not wait for a separate transfer or payout webhook for this flow.

Listen for:

| Event | Meaning |
| - | - |
| `funding_account.active` | Crypto address is ready |
| `deposit.received` | Daya recorded the incoming crypto deposit |
| `deposit.processing` | Settlement has started |
| `deposit.completed` | Settlement reached its destination |
| `deposit.requires_review` | The deposit needs review before continuing |

## Next Steps

> [card] [Create Funding Account](https://docs.daya.co/api-reference/funding-accounts/create-funding-account.md)
>
> Create an offramp with a crypto address.

> [card] [Banks](https://docs.daya.co/api-reference/banks/resolve-bank-account.md)
>
> Resolve a bank account before NGN payout.

> [card] [Deposits](https://docs.daya.co/concepts/deposits)
>
> Reconcile crypto deposits.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.