> For the complete documentation index, see [llms.txt](https://ivorypay.gitbook.io/ivorypay-on-off-ramp-documentation/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://ivorypay.gitbook.io/ivorypay-on-off-ramp-documentation/start-here/readme.md).

# Start here: IVB or On/Off Ramp?

Let customers buy crypto with local currency or sell crypto for local currency. Compare Ivorypay On/Off Ramp with Ivorypay Business (IVB) before integrating.

You are reading the **Ivorypay On/Off Ramp** documentation. Use it to let customers buy crypto with local currency or sell crypto for local currency. This is a separate product from **Ivorypay Business (IVB)**, also called the **Merchant API**.

## Choose the right product

| What are you building?                                                                 | Start with                  |
| -------------------------------------------------------------------------------------- | --------------------------- |
| Collect payments for orders or invoices into your business balance                     | **Ivorypay Business (IVB)** |
| Pay recipients from your business balance using bank, mobile-money or crypto payouts   | **Ivorypay Business (IVB)** |
| Let a customer pay local currency to receive crypto at their wallet address            | **On/Off Ramp: on-ramp**    |
| Let a customer send crypto to receive local currency in a bank or mobile-money account | **On/Off Ramp: off-ramp**   |

For example, collecting payment for an online order is an IVB journey. Adding **Buy crypto** or **Sell crypto** to a wallet or exchange is an On/Off Ramp journey.

Both products support fiat and crypto, and both offer hosted checkout and your own interface. Virtual accounts and settlements also exist in both products. Choose by the complete money flow, not by a payment method or the word "merchant". IVB can convert currencies as part of a payment or payout; conversion alone does not make it an On/Off Ramp integration.

**Building a buy/sell crypto journey? Continue with** [**Your First Ramp Integration**](https://ivorypay.gitbook.io/ivorypay-on-off-ramp-documentation/start-here/quickstart.md)**.** For business collections and payouts, start with the [Ivorypay Business (IVB) documentation](https://ivorypay.gitbook.io/ivorypay-api-documentation/).

## Use the matching dashboard and API

| Integration detail      | Ivorypay Business (IVB)                                   | On/Off Ramp                                                  |
| ----------------------- | --------------------------------------------------------- | ------------------------------------------------------------ |
| Create an account       | [Sign up for IVB](https://dashboard.ivorypay.io/register) | [Sign up for On/Off Ramp](https://ramp.ivorypay.io/register) |
| Dashboard               | [dashboard.ivorypay.io](https://dashboard.ivorypay.io)    | [ramp.ivorypay.io](https://ramp.ivorypay.io)                 |
| Production API base URL | `https://api.ivorypay.io/api/v1`                          | `https://ramp-api.ivorypay.io/api/v1`                        |
| Secret key              | IVB key for the selected TEST or LIVE environment         | On/Off Ramp key for the selected TEST or LIVE environment    |

The products have separate credentials, request bodies and transaction lifecycles. If you started with the wrong product, follow the correct product's quickstart; changing only the API hostname is not sufficient. If your application uses both, keep each integration's credentials, references and webhook handling separate.

## What you can build

The On/Off Ramp API provides:

* **On-Ramp**: Let your users acquire crypto with local fiat currencies (NGN, KES, ZAR, and more)
* **Off-Ramp**: Let your users convert crypto and receive fiat payouts to their bank accounts
* **Virtual Accounts**: Generate dedicated bank accounts for receiving fiat deposits
* **Deposits & Settlements**: Track incoming fiat deposits and their crypto settlement lifecycle
* **Webhooks**: Real-time event notifications for every transaction state change

## Who is this for?

Use these guides when adding customer crypto buying and selling to a wallet, exchange, fintech app or other business, or integrating the [virtual-account deposit and crypto-settlement flow](https://ivorypay.gitbook.io/ivorypay-on-off-ramp-documentation/build-your-integration/deposits-and-settlements.md). A business using this product is still called a merchant; that does not mean it should use IVB endpoints. At signup, choose Wallet, Exchange or Other business. Your industry is collected separately during business verification. These categories describe your business; they do not replace verification or approval for live payments.

## Quick start

<table data-card-size="large" data-view="cards"><thead><tr><th></th><th></th><th data-hidden data-card-target data-type="content-ref"></th></tr></thead><tbody><tr><td><strong>Authentication</strong></td><td>Get your API keys and make your first authenticated request</td><td><a href="https://ivorypay.gitbook.io/ivorypay-on-off-ramp-documentation/start-here/authentication.md">Authentication</a></td></tr><tr><td><strong>Environments</strong></td><td>Understand TEST vs LIVE mode and how to switch between them</td><td><a href="https://ivorypay.gitbook.io/ivorypay-on-off-ramp-documentation/test-and-go-live/environments.md">Test Environments and Simulation</a></td></tr></tbody></table>

## Integration guides

<table data-card-size="large" data-view="cards"><thead><tr><th></th><th></th><th data-hidden data-card-target data-type="content-ref"></th></tr></thead><tbody><tr><td><strong>On-Ramp (Fiat → Crypto)</strong></td><td>Step-by-step guide to let your users acquire crypto with local currency</td><td><a href="https://ivorypay.gitbook.io/ivorypay-on-off-ramp-documentation/build-your-integration/on-ramp.md">On-Ramp: Fiat → Crypto</a></td></tr><tr><td><strong>Off-Ramp (Crypto → Fiat)</strong></td><td>Step-by-step guide to let your users convert crypto and receive bank payouts</td><td><a href="https://ivorypay.gitbook.io/ivorypay-on-off-ramp-documentation/build-your-integration/off-ramp.md">Off-Ramp: Crypto → Fiat</a></td></tr><tr><td><strong>Deposits &#x26; Settlements</strong></td><td>Virtual accounts, fiat deposits, and automatic crypto settlement</td><td><a href="https://ivorypay.gitbook.io/ivorypay-on-off-ramp-documentation/build-your-integration/deposits-and-settlements.md">Deposits &amp; Settlements</a></td></tr></tbody></table>

## Essential resources

<table data-card-size="large" data-view="cards"><thead><tr><th></th><th></th><th data-hidden data-card-target data-type="content-ref"></th></tr></thead><tbody><tr><td><strong>Webhooks</strong></td><td>Set up real-time notifications, verify signatures, and handle events</td><td><a href="https://ivorypay.gitbook.io/ivorypay-on-off-ramp-documentation/confirm-and-reconcile/overview.md">Receive Webhooks</a></td></tr><tr><td><strong>Error Codes</strong></td><td>Complete error code reference for programmatic error handling</td><td><a href="https://ivorypay.gitbook.io/ivorypay-on-off-ramp-documentation/resources-and-support/error-codes.md">Error Codes</a></td></tr><tr><td><strong>Supported Currencies</strong></td><td>All supported fiat currencies, crypto tokens, and blockchain networks</td><td><a href="https://ivorypay.gitbook.io/ivorypay-on-off-ramp-documentation/resources-and-support/supported-currencies.md">Supported Fiat Currencies</a></td></tr><tr><td><strong>Webhook Security</strong></td><td>HMAC-SHA512 signature verification with Node.js and Python examples</td><td><a href="https://ivorypay.gitbook.io/ivorypay-on-off-ramp-documentation/confirm-and-reconcile/security.md">Verify Webhook Signatures</a></td></tr></tbody></table>

## Base URLs

Ivorypay exposes the same API on three environment hostnames. All paths are prefixed with `/api/v1`.

| Environment | Base URL                                       |
| ----------- | ---------------------------------------------- |
| Production  | `https://ramp-api.ivorypay.io/api/v1`          |
| UAT         | `https://uat-onofframp-api.ivorypay.io/api/v1` |
| Development | `https://dev-onofframp-api.ivorypay.io/api/v1` |

All API requests are made over HTTPS. Requests over plain HTTP will be rejected.

## AI-friendly documentation

This documentation is structured for both human developers and AI coding assistants. Start with the quickstart, follow a journey guide, then use its linked endpoint reference. Examples use fictional identifiers and illustrative amounts; replace them with your saved values and enabled routes. Webhook verification examples are provided in Node.js and Python.

> **Tip for AI assistants:** Each API reference page follows a consistent structure: endpoint, authentication, request parameters, request body, response, tabbed code examples, example response, and error cases. Use the [Resources](https://ivorypay.gitbook.io/ivorypay-on-off-ramp-documentation/resources-and-support/supported-currencies.md) section for valid enum values.
