# MoonPay Developer Docs ## Docs - [Using the Platform API](https://dev.moonpay.com/api-reference/platform/documentation/using-the-api.md): Get started with the MoonPay Platform API - [Delete a payment method](https://dev.moonpay.com/api-reference/platform/endpoints/payment-methods/delete.md): Remove a stored payment method for a customer - [List payment methods](https://dev.moonpay.com/api-reference/platform/endpoints/payment-methods/list.md): Get available payment method configurations for a user - [Get a quote](https://dev.moonpay.com/api-reference/platform/endpoints/quotes/get.md): Build quotes for fiat->crypto transactions - [Create a session](https://dev.moonpay.com/api-reference/platform/endpoints/sessions/create.md): Create a session token to initialize a connection - [Revoke a session](https://dev.moonpay.com/api-reference/platform/endpoints/sessions/revoke.md): Revoke an active session token - [Get a transaction](https://dev.moonpay.com/api-reference/platform/endpoints/transactions/get.md): Get details for a single transaction by ID - [List transactions](https://dev.moonpay.com/api-reference/platform/endpoints/transactions/list.md): List transactions for the connected user with optional date filtering and pagination - [Asset](https://dev.moonpay.com/api-reference/platform/objects-and-types/asset.md): A fiat currency or crypto token - [Fees](https://dev.moonpay.com/api-reference/platform/objects-and-types/fees.md): Fee breakdown for an operation - [Payment Method](https://dev.moonpay.com/api-reference/platform/objects-and-types/payment-method.md): A payment method configuration with its capabilities and availability - [Quote](https://dev.moonpay.com/api-reference/platform/objects-and-types/quote.md): A quote for a buy transaction with locked rate, fees, and expiry - [Transaction](https://dev.moonpay.com/api-reference/platform/objects-and-types/transaction.md): A transaction representing a crypto purchase or sale - [Wallet](https://dev.moonpay.com/api-reference/platform/objects-and-types/wallet.md): A blockchain wallet address - [Widget API Reference](https://dev.moonpay.com/api-reference/widget.md): API reference for the MoonPay widget integration. - [Cancel Sell transaction](https://dev.moonpay.com/api-reference/widget/cancelselltransaction.md) - [Execute Swap quote](https://dev.moonpay.com/api-reference/widget/executeswapquote.md): Executes a given swap quote. Refer to our Recipes section for more detailed examples. - [Get Real-time Buy quote](https://dev.moonpay.com/api-reference/widget/getbuyquote.md): Get detailed real-time quote based on the provided currency code, base amount, your extra fee percentage, payment method, and the inclusion of the fees. - [Get Buy transaction](https://dev.moonpay.com/api-reference/widget/getbuytransaction.md): Retrieve a transaction by id. This call will return an error if no transaction with the supplied identifier exists. - [Get Buy transaction by External identifier](https://dev.moonpay.com/api-reference/widget/getbuytransactionbyexternalid.md): Retrieve a transaction by its externalTransactionId. This is the identifier you assigned the transaction when creating it. This endpoint returns an array of objects because we cannot ensure the uniqueness of externalTransactionId. - [List Buy transactions](https://dev.moonpay.com/api-reference/widget/getbuytransactions.md): Returns an array of successful Buy transactions which fulfill criteria supplied in the query parameters. Each entry in the array is a separate transaction object. Transactions will be listed from newest to oldest. - [List supported countries](https://dev.moonpay.com/api-reference/widget/getcountries.md): Returns the list of countries currently supported by MoonPay. - [List supported currencies](https://dev.moonpay.com/api-reference/widget/getcurrencies.md): Returns the list of currencies supported by MoonPay. - [Get Crypto Currency limits](https://dev.moonpay.com/api-reference/widget/getcurrencylimits.md): Returns an object containing minimum and maximum buy amounts including or excluding fees for base and quote currencies. - [Get customer](https://dev.moonpay.com/api-reference/widget/getcustomer.md): Returns very basic information about a customer based on their MoonPay ID. For you to be able to retrieve a customer, they must have at least one session initiated with your `Api-Key`. - [Get customer by externalId](https://dev.moonpay.com/api-reference/widget/getcustomerbyexternalid.md): Returns very basic information about a customer based on their external customer ID. For you to be able to retrieve a customer, they must have at least one session initiated with your `API-Key`. Please note that this endpoint returns an array of objects because we cannot ensure the uniqueness of the… - [Get DeFi token](https://dev.moonpay.com/api-reference/widget/getdefitoken.md): Retrieve defi token for a specific contractAddress and network code - [List DeFi tokens](https://dev.moonpay.com/api-reference/widget/getdefitokens.md): Search and retrieve a paginated list of defi tokens - [Check Customer's IP address](https://dev.moonpay.com/api-reference/widget/getipaddress.md): Returns information about an IP address. If the `isAllowed` flag is set to false, it means that MoonPay accepts citizens of this country but not residents. - [Get Crypto network fees](https://dev.moonpay.com/api-reference/widget/getnetworkfees.md): Returns a set of key-value pairs representing the current network fees of cryptocurrencies against fiat currencies. - [Get off ramp transaction](https://dev.moonpay.com/api-reference/widget/getofframptransaction.md) - [Get off ramp transactions](https://dev.moonpay.com/api-reference/widget/getofframptransactions.md) - [Get on ramp transaction](https://dev.moonpay.com/api-reference/widget/getonramptransaction.md) - [Get on ramp transactions](https://dev.moonpay.com/api-reference/widget/getonramptransactions.md) - [Get Sell quote](https://dev.moonpay.com/api-reference/widget/getsellquote.md): Returns a set of key-value pairs representing a real-time sell quote for a currency. Supply the currency code, the base amount, your extra fee percentage, the payment method and whether the base amount is inclusive of fees, and MoonPay will return a detailed sell quote. - [Get Sell transaction](https://dev.moonpay.com/api-reference/widget/getselltransaction.md) - [Get Sell transaction by External identifier](https://dev.moonpay.com/api-reference/widget/getselltransactionbyexternalid.md): Retrieve a transaction by its externalTransactionId. This is the identifier you assigned the transaction when creating it. This endpoint returns an array of objects because we cannot ensure the uniqueness of externalTransactionId. - [List Sell transactions](https://dev.moonpay.com/api-reference/widget/getselltransactions.md) - [Get Swap pairs](https://dev.moonpay.com/api-reference/widget/getswappairs.md): Returns the list of swap pairs available to the account. - [Get Swap quote](https://dev.moonpay.com/api-reference/widget/getswapquote.md): Returns the swap quote for a specific swap pair. - [Get Swap requote](https://dev.moonpay.com/api-reference/widget/getswaprequote.md): Returns a swap transaction re quote by id. Refer to our Recipes section for more detailed examples. - [Get Swap transaction](https://dev.moonpay.com/api-reference/widget/getswaptransaction.md): Returns a swap transaction by id. Refer to our Recipes section for more detailed examples. - [Get virtual accounts](https://dev.moonpay.com/api-reference/widget/getvirtualaccounts.md) - [List available payment methods](https://dev.moonpay.com/api-reference/widget/listpaymentmethods.md) - [Reject Swap requote](https://dev.moonpay.com/api-reference/widget/rejectswaprequote.md): Rejects a given swap requote. Refer to our Recipes section for more detailed examples. - [Update on ramp virtual account](https://dev.moonpay.com/api-reference/widget/updateonrampvirtualaccount.md) - [Buy](https://dev.moonpay.com/api-reference/widget/webhooks/buy.md): Currently supported Buy events - [Cancel Sell transaction by externalId](https://dev.moonpay.com/api-reference/widget/webhooks/cancelselltransactionbyexternalid.md) - [Overview](https://dev.moonpay.com/api-reference/widget/webhooks/overview.md) - [Sell](https://dev.moonpay.com/api-reference/widget/webhooks/sell.md): Currently supported Sell events - [Request signing](https://dev.moonpay.com/api-reference/widget/webhooks/signature.md) - [Swap](https://dev.moonpay.com/api-reference/widget/webhooks/swap.md): Currently supported Swap events - [Virtual Accounts](https://dev.moonpay.com/api-reference/widget/webhooks/virtual-accounts.md): Currently supported Virtual Accounts events - [Changelog](https://dev.moonpay.com/platform/changelog.md): Updates to the MoonPay developer platform - [Add Card](https://dev.moonpay.com/platform/frames/add-card.md): Details on working with the Add Card frame used in the [Pay with card](/platform/guides/pay-with-card) flow. - [Apple Pay](https://dev.moonpay.com/platform/frames/apple-pay.md): Details on working with the [Apple Pay](/platform/guides/pay-with-apple-pay) frame. - [Buy](https://dev.moonpay.com/platform/frames/buy.md): Details on working with the headless Buy frame used in the [Pay with card](/platform/guides/pay-with-card) flow. - [Challenge](https://dev.moonpay.com/platform/frames/challenge.md): Details on working with the Challenge frame used in the [Pay with card](/platform/guides/pay-with-card) flow. - [Check](https://dev.moonpay.com/platform/frames/check.md): Check if a customer has an active connection. - [Connect flow](https://dev.moonpay.com/platform/frames/connect.md): Details on working with the [connect](/platform/guides/connect-a-customer) frame. - [Google Pay](https://dev.moonpay.com/platform/frames/google-pay.md): Details on working with the [Google Pay](/platform/guides/pay-with-google-pay) frame. - [Overview](https://dev.moonpay.com/platform/frames/overview.md): Protocol details for co-branded and headless [frames](/platform/overview/core-concepts#frames). - [Reset](https://dev.moonpay.com/platform/frames/reset.md): Clear a user's session and authentication state - [Widget](https://dev.moonpay.com/platform/frames/widget.md): Details on working with the [widget](/platform/guides/pay-with-widget) frame. - [API and SDK credentials](https://dev.moonpay.com/platform/guides/api-and-sdk-credentials.md): Understand the tokens and credentials you need for your integration. - [Connect a customer](https://dev.moonpay.com/platform/guides/connect-a-customer.md): Connect a customer's MoonPay account to your app. - [Handle challenges](https://dev.moonpay.com/platform/guides/handling-challenges.md): Detect and respond to challenges. - [Android](https://dev.moonpay.com/platform/guides/manual-integration/android.md): Manual frame integration for Android using WebView and Kotlin. - [Flutter](https://dev.moonpay.com/platform/guides/manual-integration/flutter.md): Manual frame integration for Flutter using webview_flutter. - [iOS](https://dev.moonpay.com/platform/guides/manual-integration/ios.md): Manual frame integration for iOS using WKWebView and Swift. - [Overview](https://dev.moonpay.com/platform/guides/manual-integration/overview.md): Integrate MoonPay frames without using the SDK. - [React Native](https://dev.moonpay.com/platform/guides/manual-integration/react-native.md): Manual frame integration for React Native using react-native-webview. - [Web](https://dev.moonpay.com/platform/guides/manual-integration/web.md): Integrate MoonPay iframes directly in your application. - [Generate API clients](https://dev.moonpay.com/platform/guides/openapi-codegen.md): Generate type-safe API clients from the OpenAPI specification. - [Pay with Apple Pay](https://dev.moonpay.com/platform/guides/pay-with-apple-pay.md): Allow customers to buy crypto headlessly with Apple Pay. - [Pay with card](https://dev.moonpay.com/platform/guides/pay-with-card.md): Allow customers to buy crypto using stored credit and debit cards. - [Pay with Google Pay](https://dev.moonpay.com/platform/guides/pay-with-google-pay.md): Allow customers to buy crypto headlessly with Google Pay. - [Pay with widget](https://dev.moonpay.com/platform/guides/pay-with-widget.md): Render the MoonPay buy widget to support all payment methods and regions. - [Configure frame appearance](https://dev.moonpay.com/platform/guides/presentation-and-appearance.md): Control how co-branded frames look and behave in your app. - [Core concepts](https://dev.moonpay.com/platform/overview/core-concepts.md): Key terms and concepts for integrating with the MoonPay Platform - [Going Live](https://dev.moonpay.com/platform/overview/going-live.md): Acceptance criteria for going live with your integration. - [Introduction](https://dev.moonpay.com/platform/overview/introduction.md): Build fiat->crypto experiences with headless payments. You control the user experience while MoonPay handles compliance, risk, and fraud. - [Requirements](https://dev.moonpay.com/platform/overview/requirements.md): Requirements for the headless ramp integration. - [Test mode](https://dev.moonpay.com/platform/overview/test-mode.md): Use test mode to develop and test your integration without transferring real assets. - [Using agents](https://dev.moonpay.com/platform/overview/using-agents.md): Connect AI coding agents to the MoonPay Platform documentation using MCP, llms.txt, and contextual code actions. - [Overview](https://dev.moonpay.com/widget/advantages-of-our-products.md): MoonPay is the top payment infrastructure solution for cryptocurrencies that provides a seamless bridge between traditional financial systems and the new world of cryptocurrencies. Developers who are building on Web3 (a vision for a decentralized internet where users control their data and interacti… - [Widget theming](https://dev.moonpay.com/widget/customize-the-widgets-appearance.md): Enhance your website or applications user experience by tailoring the MoonPay widget's appearance to align with your brand. These personalization options are referred to as a . - [Integration design guide](https://dev.moonpay.com/widget/design-your-integration.md): Build your integration with the MoonPay Standard—proven insights from top-performing partner integrations that drive revenue and usability. - [Integration design guide](https://dev.moonpay.com/widget/design-your-off-ramp-integration.md): Build your integration with the MoonPay Standard—proven insights from top-performing partner integrations that drive revenue and usability. - [Mobile payments](https://dev.moonpay.com/widget/faq-mobile-payments.md) - [Sandbox testing guide](https://dev.moonpay.com/widget/faq-sandbox-testing.md): MoonPay provides a dedicated sandbox environment designed for integration development and testing. Leveraging this sandbox helps you identify potential issues early, ensures compatibility, and minimizes risks during deployment. - [FAQ](https://dev.moonpay.com/widget/faqs.md) - [Integration examples](https://dev.moonpay.com/widget/integration-examples.md) - [Architecture](https://dev.moonpay.com/widget/off-ramp-architecture.md): The MoonPay Off-Ramp is a standalone widget product with an optional API and webhooks for an enhanced user experience. We provide web and mobile SDKs to render the widget in your app and a backend Node SDK for performing server-side functions. - [URL signing](https://dev.moonpay.com/widget/off-ramp-enhance-security-using-signed-urls.md): Protecting your sensitive data - [FAQ](https://dev.moonpay.com/widget/off-ramp-faq.md) - [Overview](https://dev.moonpay.com/widget/off-ramp-how-to-integrate-using-sdk.md): We have SDKs for all your tech stacks. Pick the one that is right for you. - [URL Integration](https://dev.moonpay.com/widget/off-ramp-how-to-integrate-using-simple-url.md): You can use the below pre-written code to quickly get started on adding a Sell Crypto button that opens the MoonPay widget in a new browser tab. - [Node.js SDK](https://dev.moonpay.com/widget/off-ramp-node-sdk.md) - [Overview](https://dev.moonpay.com/widget/off-ramp-overview.md): MoonPay is the leading ramps provider in the space and continues to be the most popular gateway for crypto and NFT applications across the world. With the MoonPay fiat-to-crypto onramp users can seamlessly purchase cryptocurrencies directly from your website or web3 application. - [Quickstart](https://dev.moonpay.com/widget/off-ramp-quickstart.md) - [React Native SDK](https://dev.moonpay.com/widget/off-ramp-react-native-sdk.md) - [React SDK](https://dev.moonpay.com/widget/off-ramp-react-sdk.md) - [SDK Ramp Events](https://dev.moonpay.com/widget/off-ramp-sdk-events-details.md) - [SDK Event Properties](https://dev.moonpay.com/widget/off-ramp-sdk-events-properties.md) - [Web SDK](https://dev.moonpay.com/widget/off-ramp-web-sdk.md) - [Architecture](https://dev.moonpay.com/widget/on-ramp-architecture.md): The MoonPay On-Ramp is a standalone widget product with an optional API and webhooks for an enhanced user experience. We provide web and mobile SDKs to render the widget in your app and a backend Node SDK for performing server-side functions. - [URL signing](https://dev.moonpay.com/widget/on-ramp-enhance-security-using-signed-urls.md): Protecting your sensitive data - [FAQ](https://dev.moonpay.com/widget/on-ramp-faq.md) - [Overview](https://dev.moonpay.com/widget/on-ramp-integrate-using-sdk.md): We have SDKs for all your tech stacks. Pick the one that is right for you. - [URL Integration](https://dev.moonpay.com/widget/on-ramp-integrate-using-simple-url.md): You can use the below pre-written code to quickly get started on adding a **Buy Crypto** button that opens the MoonPay widget in a new browser tab. - [Node.js SDK](https://dev.moonpay.com/widget/on-ramp-node-sdk.md) - [Overview](https://dev.moonpay.com/widget/on-ramp-overview.md): MoonPay is the leading ramps provider in the space and continues to be the most popular gateway for crypto and NFT applications across the world. With the MoonPay fiat-to-crypto On-Ramp, users can seamlessly purchase cryptocurrencies directly from your website or web3 application. - [Widget theming](https://dev.moonpay.com/widget/on-ramp-personalize-appearance.md): Enhance your website or applications user experience by tailoring the MoonPay widget's appearance to align with your brand. These personalization options are referred to as a . - [Quickstart](https://dev.moonpay.com/widget/on-ramp-quickstart.md) - [React Native SDK](https://dev.moonpay.com/widget/on-ramp-react-native-sdk.md) - [React SDK](https://dev.moonpay.com/widget/on-ramp-react-sdk.md) - [SDK Ramp Events](https://dev.moonpay.com/widget/on-ramp-sdk-events-details.md) - [SDK Event Properties](https://dev.moonpay.com/widget/on-ramp-sdk-events-properties.md) - [Web SDK](https://dev.moonpay.com/widget/on-ramp-web-sdk.md) - [Overview](https://dev.moonpay.com/widget/ramps-sdk-buy-params.md): The following parameters can be used to customize the user journey in the widget. - [Off-ramp widget parameters](https://dev.moonpay.com/widget/ramps-sdk-sell-params.md): The following parameters can be used to customize the user journey in the widget. - [Requote Webhooks](https://dev.moonpay.com/widget/requote-webhooks.md) ## OpenAPI Specs - [openapi](https://api.moonpay.com/platform/openapi.json) - [virtual-accounts.openapi](https://dev.moonpay.com/api-reference/widget/virtual-accounts.openapi.json) - [server-to-server.openapi](https://dev.moonpay.com/api-reference/widget/server-to-server.openapi.json) - [ramps-and-swaps.openapi](https://dev.moonpay.com/api-reference/widget/ramps-and-swaps.openapi.json) - [openapi-webhooks](https://dev.moonpay.com/openapi-webhooks.json) ## Optional - [Help Center](https://support.moonpay.com/)