For the complete documentation index, see llms.txt. Append
.mdto any page URL for its markdown version.
There are two ways to integrate Banxa Hosted Checkout. The right choice depends on your platform, backend capability, and which features you need.
You make server-to-server calls to Banxa to fetch quotes, create orders, and receive webhook notifications. The checkout URL is returned in the order creation response, and you redirect or embed it.
Best for:
- Teams that need real-time order status updates via webhooks.
- Integrations that want to display a quote comparison within their own UI before checkout.
- Use cases where KYC sharing would improve conversion.
- Integrations needing programmatic control over payment methods, fiat/crypto options, and customer data.
What you get:
- Full access to all Banxa APIs: Quote, Order, Payment Methods, Countries, Currencies, and Identity.
- Webhooks for real-time order status updates.
- KYC sharing to reduce friction for returning customers.
- Ability to build a pre-checkout quote flow within your own UI.
Considerations:
- Your API key must be kept secret — avoid exposing it in client-side code or public repositories.
- More implementation effort than the mobile SDKs.
→ See API Integration.
Four mobile SDKs wrap Banxa Hosted Checkout: React Native, iOS, Android, and Flutter. Each is configured with your API key and presents the checkout in-app, with no backend required for core flows.
| SDK | Language | Distribution |
|---|---|---|
| React Native | TypeScript | npm, @banxa-official/react-native-sdk |
| iOS | Swift | Swift Package Manager |
| Android | Kotlin | AAR |
| Flutter | Dart | pub.dev, banxa_payments_flutter |
Best for:
- Mobile apps on React Native, native iOS, native Android, or Flutter.
- Teams that want faster integration than wiring up API calls manually.
- Apps where you want the SDK to handle checkout presentation and return URL detection.
What you get:
- Typed methods for quotes, payment methods, currencies, and countries.
- Checkout presentation handled for you. React Native gives you a
CheckoutWebViewcomponent to render; iOS and Android are headless and present checkout internally; Flutter presents the native sheet when it can and otherwise hands you aBanxaHostedCheckoutViewwidget. - Same
x-api-keyauth as the API, so no backend is required.
Limitations:
- Mobile only. For web, use the API.
- No KYC sharing. That requires HMAC authentication, which the SDKs do not use.
- Order lookup is limited. React Native supports lookup by id or customer; iOS, Android, and Flutter do not expose order lookup at all. Use the API or webhooks.
- All SDKs support
buyorders. - Note that only the Flutter SDK exposes
sellorder creation. On other SDKs,sellorders go through the API.
→ See SDK Integration.
| API | Mobile SDKs | |
|---|---|---|
| Implementation effort | Higher | Lower |
| Platform | Any | React Native, iOS, Android, Flutter |
| Backend required | No (only for KYC sharing) | No |
| Webhooks | Yes | Yes (configured separately) |
| Quote UI in your app | Yes | Yes |
| KYC sharing | Yes | No |
| Order lookup | Yes (all orders) | React Native: by id or customer. iOS, Android, Flutter: no |
| Sell orders | Yes, POST /v2/sell | Flutter: Yes. Others: No |
| Checkout presentation | Redirect or iFrame, you choose | In-app |
Choose API if you need webhooks, want to show customers a quote before checkout, or have an existing KYC process you want to share with Banxa.
Choose a mobile SDK if you're building a React Native, iOS, Android, or Flutter app and want a typed interface without wiring up API calls manually.
The API can be used with either Redirect or iFrame checkout visualisation. The SDKs handle checkout presentation themselves.