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

# Overview

> API reference for the MoonPay widget integration.

The MoonPay widget integration is powered by two APIs:

* **Ramps**: buy and sell quotes; transaction lookups; supported
  countries, currencies, and payment methods.
* **Virtual Accounts**: programmatic on-ramp and off-ramp via virtual
  bank accounts, plus the associated transaction history.

> [card] [On-ramp](https://dev.moonpay.com/api-reference/widget/getbuyquote.md)
>
> Buy quotes, currency limits, network fees, and transaction lookups.

> [card] [Off-ramp](https://dev.moonpay.com/api-reference/widget/getsellquote.md)
>
> Sell quotes and sell transaction lookups.

> [card] [Data](https://dev.moonpay.com/api-reference/widget/getcountries.md)
>
> Supported countries, currencies, payment methods, and IP-address checks.

> [card] [DeFi tokens](https://dev.moonpay.com/api-reference/widget/getdefitoken.md)
>
> Token data and token lists for DeFi assets.

> [card] [Virtual Accounts](https://dev.moonpay.com/api-reference/widget/getvirtualaccounts.md)
>
> Programmatic on-ramp and off-ramp via virtual bank accounts.

> [card] [Webhooks](https://dev.moonpay.com/api-reference/widget/webhooks/overview.md)
>
> Receive asynchronous notifications when transaction status changes.

## Authentication and base URL

See [Using the API](https://dev.moonpay.com/api-reference/widget/using-the-api.md) for the base URL, API
key types, and which endpoints use which authentication scheme.

## Errors

Errors return a JSON body with a stable `moonPayErrorCode`. See
[Errors](https://dev.moonpay.com/api-reference/widget/errors.md) for the response shape and code catalog.
