Architecture

๐Ÿ› ๏ธ Swaps On-Ramp Integration Components

The Swaps On-Ramp is a standalone widget product, designed to be easily integrated into your application. It comes with an optional API and webhooks for enhanced user experience, enabling smooth cryptocurrency purchases for your users. We provide web and mobile SDKs to render the widget in your app, as well as a backend Node SDK for server-side operations.

Components for On-Ramp Integrations

ComponentFeatures
Web SDKsParameters to pre-fill cryptocurrency, amount, user email, etc.
Includes a communication layer between partner apps and the Swaps widget
Mobile SDKsSDKs for iOS and Android apps
Node SDKPerform server-side functions, such as URL signing
Swaps APIGet minimum/maximum purchase amounts, obtain buy quotes, and display transaction history
WebhooksReceive real-time transaction updates
Legacy IntegrationAn alternative to SDKs; generate Swaps widget links to show in an iframe

High-Level Diagram

The diagram below illustrates a basic crypto purchase flow and the components required for implementation. We recommend using our API and webhooks to provide contextual information, such as minimum/maximum purchase amounts, quotes, and transaction history, directly within your app.

[Diagram Placeholder]