Baanx API is a multi-tenant gateway that bridges cryptocurrency wallets with traditional card payments. Whether you’re building a neobank, crypto exchange, or DeFi platform, our API provides everything you need to offer seamless financial services to your users.
OAuth 2.0 with PKCE
Secure authorization flow with hosted UI or custom authentication
Dual Wallet Models
Custodial (platform-managed) and non-custodial (user-controlled) options
Physical & Virtual Cards
Issue and manage debit cards linked to crypto wallets
Blockchain Delegation
Grant spending authority while maintaining full custody on EVM and Solana
Consent Management
GDPR/CCPA-compliant consent tracking with complete audit trails
Best for: Mobile apps, custom UX, white-label solutions
OAuth Hosted UI
Quick setup with pre-built login
✅ Fastest implementation (~30 min)
✅ No credential handling
✅ Built-in security
✅ Perfect for web apps
❌ Standard UI (limited branding)
❌ Requires redirect flow
Best for: Web apps, MVP/prototyping, third-party integrations
Recommendation: Start with API Mode if you need custom UX or building mobile apps. Use Hosted UI only for quick web integrations or when custom auth UI isn’t required.
Choose how keys are managed (independent of OAuth choice):
Custodial Wallets
Platform manages keys
✅ Simpler integration
✅ No wallet software needed
✅ Direct card linking
✅ Whitelist-based security
❌ Platform custody required
❌ Limited withdrawal flexibility
Best for: Exchanges, neobanks, mainstream fintech apps, users new to crypto
Non-Custodial Wallets
Users control their own keys
✅ True self-custody
✅ On-chain verification
✅ Flexible withdrawals
✅ DeFi-native approach
❌ More complex setup
❌ Requires wallet software (MetaMask, Phantom)
❌ Delegation flow needed
Best for: DeFi platforms, Web3 apps, crypto-native users, self-custody requirement
Understanding the relationship: OAuth handles authentication (who the user is), while the wallet model handles key custody (who controls the crypto). All integrations use OAuth - you just pick the mode and wallet model that fits your use case.
Mobile App with Custodial Wallets
Example: Crypto exchange mobile app with card issuanceYour choices:
OAuth: API Mode (custom login UI in your app)
Wallet: Custodial (you manage keys, users get simplicity)
The Baanx API automatically routes requests to your environment based on your credentials. Each client receives unique keys for sandbox and production environments.
Required on ALL requests: Include the x-client-key header in every API call for proper routing. Missing this header results in a 499 status code.
Contact your account manager to receive your x-client-key and x-secret-key for sandbox and production
2
Choose OAuth Implementation Mode
Select API Mode (custom UX) or Hosted UI (quick setup) based on your authentication needs
3
Choose Wallet Model
Select Custodial (platform-managed) or Non-Custodial (user-controlled) based on your custody model
4
Implement Authentication
Follow the OAuth guide for your chosen mode to set up user authentication
5
Set Up Consent Management
Implement Consent Management to track user consent for GDPR, CCPA, and E-Sign Act compliance. Consent collection is required during user registration before accessing card or wallet features.
6
Test in Sandbox
Use your sandbox credentials to test the full integration before going live, including consent collection flows
7
Go to Production
Schedule an operational “go live” meeting with your account manager to review your integration and initiate the approval process for production credentials
Download the complete OpenAPI 3.1 specification for your tools
Ready to get started? Most developers begin with the OAuth Quickstart to understand authentication, then move to their specific use case (wallets, cards, or delegation).