Checkout Visualisation
Redirect vs iFrame
The Banxa checkout is a sequence of screens that guides your customer through their crypto transaction — identity verification, payment details, and order confirmation. You choose how that checkout is presented to them.
Redirect
The customer is redirected to a Banxa-hosted checkout page, either in a new tab or the same window.
How it works:
- Your app generates a checkout URL (via Referral link or the
checkoutUrlreturned in an API order response). - The customer is redirected to that URL.
- Banxa handles the entire checkout experience.
- On completion, the customer is redirected back to your
redirectUrl.
Advantages:
- Least integration effort — no embedding or WebView configuration required.
- The checkout page can be co-branded with your logo and styling.
- Fully compatible with all payment methods including Apple Pay and Google Pay.
Considerations:
- The customer visibly leaves your application.
- Less control over the in-app experience.
Embedded Checkout (iFrame)
The Banxa checkout is embedded inside your application using an iFrame (web) or WebView (mobile).
How it works:
- Your app generates a checkout URL.
- The URL is loaded inside an iFrame or WebView component in your UI.
- The customer completes the transaction without leaving your app.
Advantages:
- Seamless experience — the customer stays within your product.
- Greater control over layout and context around the checkout.
Considerations:
- Requires additional WebView configuration on mobile (camera access, local storage, media playback).
- Some payment methods (e.g., Google Pay on Android) require Custom Chrome Tabs rather than a standard WebView.
- More integration effort than redirect.
Comparison
| Redirect | iFrame / WebView | |
|---|---|---|
| Customer leaves your app | Yes | No |
| Integration effort | Low | Medium |
| Co-branding support | Yes | Yes |
| Camera / KYC support | Native browser | Requires WebView config |
| Apple Pay | Yes | No |
| Google Pay | Yes | No |
Recommendation
- Choose Redirect if you want the fastest integration or are building a mobile app where WebView complexity is a concern.
- Choose iFrame / WebView if keeping the customer inside your product is a priority and you have the capacity to handle platform-specific WebView configuration.
Both options are compatible with both Referral and API integration methods.
Updated about 20 hours ago
