Get Started with ZendFi
Accept SOL, USDC, and USDT payments in 5 minutes. No blockchain knowledge required.Quick Start (Using SDK)
The fastest way to integrate ZendFi:1. Install the SDK
2. Get your API key
Sign up at zendfi.tech to get your test API key.3. Create a payment
Alternative: Embed Checkout in Your App
Want customers to pay without leaving your site? Use embedded checkout:Detailed Setup (API)
Prefer to use the REST API directly? Here’s the complete flow.Step 1: Create Your Merchant Account
api_key is shown only once! Store it securely in environment variables.
:::
Wallet Options
| Option | Description | Best For |
|---|---|---|
| MPC Passkey | Non-custodial wallet with biometric auth | Most users (recommended) |
| External Wallet | Use your existing Solana wallet | Advanced users with existing setup |
- No seed phrases to manage
- Export private keys anytime
- Withdraw funds via API
- Secure with WebAuthn/passkeys
Step 2: Set Up Passkey (MPC Only)
If you chose MPC passkey:- Open the
passkey_setup_urlfrom the response - Click “Register Passkey”
- Complete biometric authentication (Face ID/Touch ID)
- Wait 5-10 seconds for wallet generation
Step 3: Test Your API Key
Step 4: Create Your First Payment
payment_url or show them the qr_code. Done!
API Key Modes
ZendFi uses smart API keys that auto-route to the correct network:| Mode | Prefix | Network | Purpose |
|---|---|---|---|
| Test | zfi_test_ | Solana Devnet | Development (free) |
| Live | zfi_live_ | Solana Mainnet | Production (real money) |
Next Steps
Set Up Webhooks
Get notified when payments are confirmed:Add Subscriptions
Recurring billing with trials and webhooks:Test vs Live Mode
Test Mode (Free)
- Uses Solana devnet (test network)
- Get free SOL from sol-faucet.com
- All tokens are worthless (for testing only)
- Perfect for development
Live Mode (Production)
- Uses Solana mainnet (real network)
- Real crypto transactions
- ~$0.0001 network fees (we cover it with 0.6% platform fee)
- Ready for customers
Getting Help
- Discord: discord.gg/zendfi
- Email: support@zendfi.tech
- Docs: Full API Reference →
Example Request
Response
Payment Flow
- Create payment → Get
payment_urlandqr_code - Customer pays → Scans QR or clicks link
- Webhook fired →
PaymentConfirmedevent sent to your server - Funds received → Check your wallet balance!
Step 5: Handle Webhooks
Set up a webhook endpoint to receive real-time payment notifications:Using the SDK
For a better developer experience, use our TypeScript SDK:What’s Next?
Now that you have the basics down, explore more features:- Payments API - Full payment API reference
- Subscriptions - Recurring billing
- Payment Links - Reusable payment URLs
- Webhooks - Event notifications
- API Reference - Complete API documentation with SDK examples
Need Help?
- Email: support@zendfi.tech
- Discord: discord.gg/zendfi
- API Reference: api.zendfi.tech
