Mercuryo Integration for Crypto Purchase in Mobile App

NOVASOLUTIONS.TECHNOLOGY is engaged in the development, support and maintenance of iOS, Android, PWA mobile applications. We have extensive experience and expertise in publishing mobile applications in popular markets like Google Play, App Store, Amazon, AppGallery and others.
Development and support of all types of mobile applications:
Information and entertainment mobile applications
News apps, games, reference guides, online catalogs, weather apps, fitness and health apps, travel apps, educational apps, social networks and messengers, quizzes, blogs and podcasts, forums, aggregators
E-commerce mobile applications
Online stores, B2B apps, marketplaces, online exchanges, cashback services, exchanges, dropshipping platforms, loyalty programs, food and goods delivery, payment systems.
Business process management mobile applications
CRM systems, ERP systems, project management, sales team tools, financial management, production management, logistics and delivery management, HR management, data monitoring systems
Electronic services mobile applications
Classified ads platforms, online schools, online cinemas, electronic service platforms, cashback platforms, video hosting, thematic portals, online booking and scheduling platforms, online trading platforms

These are just some of the types of mobile applications we work with, and each of them may have its own specific features and functionality, tailored to the specific needs and goals of the client.

Showing 1 of 1 servicesAll 1735 services
Mercuryo Integration for Crypto Purchase in Mobile App
Simple
~2-3 business days
FAQ
Our competencies:
Development stages
Latest works
  • image_mobile-applications_feedme_467_0.webp
    Development of a mobile application for FEEDME
    756
  • image_mobile-applications_xoomer_471_0.webp
    Development of a mobile application for XOOMER
    624
  • image_mobile-applications_rhl_428_0.webp
    Development of a mobile application for RHL
    1054
  • image_mobile-applications_zippy_411_0.webp
    Development of a mobile application for ZIPPY
    947
  • image_mobile-applications_affhome_429_0.webp
    Development of a mobile application for Affhome
    862
  • image_mobile-applications_flavors_409_0.webp
    Development of a mobile application for the FLAVORS company
    445

Mercuryo Integration for Crypto Purchase in a Mobile App

Mercuryo is a European on-ramp provider with FCA licensing and support for 100+ countries. Fee is 2.95–3.95% for cards, 1.5% for SEPA. The standout feature — the widget is easily customizable to app colors, and there's a native SDK for iOS.

Two Integration Modes

Widget (https://exchange.mercuryo.io) — WebView or browser. Quick integration, Mercuryo manages KYC and the payment page.

API — full UI control, requires business verification from Mercuryo and technical coordination. Not for startups.

Most mobile wallets use the widget approach.

Widget Signature via HMAC

Mercuryo requires HMAC-SHA512 signature from the string {walletAddress}{secret}:

// Server-side: signing the address
import CryptoKit
let input = "\(walletAddress)\(mercuryoSecret)"
let key = SymmetricKey(data: Data(mercuryoSecret.utf8))
let mac = HMAC<SHA512>.authenticationCode(for: Data(input.utf8), using: key)
let signature = Data(mac).map { String(format: "%02x", $0) }.joined()

Without a correct signature, the widget opens with an error or won't let you complete the purchase. The signature is computed on the server and passed to the app as part of the URL.

Opening the Widget

// Android — Chrome Custom Tabs with Mercuryo widget
val params = buildString {
    append("widget_id=${mercuryoWidgetId}")
    append("&type=buy")
    append("&currency=ETH")
    append("&network=ETHEREUM")
    append("&address=${userWalletAddress}")
    append("&signature=${serverGeneratedSignature}")
    append("&fiat_currency=EUR")
    append("&redirect_url=${URLEncoder.encode("myapp://mercuryo-complete", "UTF-8")}")
    append("&theme=dark")
    append("&lang=en")
}
val widgetUrl = "https://exchange.mercuryo.io/?$params"

CustomTabsIntent.Builder()
    .setColorScheme(CustomTabsIntent.COLOR_SCHEME_DARK)
    .build()
    .launchUrl(context, Uri.parse(widgetUrl))

The network Parameter is Critical

Mercuryo distinguishes network and token separately. currency=USDC&network=ETHEREUM is USDC on Ethereum. currency=USDC&network=POLYGON is USDC on Polygon. Passing the wrong network means the user receives crypto on a different address (if formats match) or the transaction fails.

Supported pairs list: GET https://api.mercuryo.io/v1.6/public/currencies-buy — the authoritative reference.

Callback and Verification

After purchase completion, Mercuryo redirects to redirect_url with parameters status (succeeded, failed, pending) and transaction_id. A webhook on the backend is more reliable than deeplink.

Timeline: 2–3 days for server-side signature generation, widget opening, deeplink callback handling, and status verification via Mercuryo API.