Welcome to ZendFi
ZendFi is a payment infrastructure platform built on Solana. It gives you everything you need to accept stablecoin and token payments — subscriptions, invoices, installment plans, payment links, embedded checkout, and more — through a single, clean API. No wallet custody. No smart contract deployments. No blockchain plumbing. You writecreatePayment({ amount: 50 }), and ZendFi handles the rest.
Quickstart
Go from zero to accepting payments in under five minutes.
API Reference
Full endpoint documentation with request/response examples.
SDK Reference
TypeScript SDK with zero-config setup and type-safe helpers.
CLI
Scaffold projects, test payments, and manage keys from your terminal.
What You Can Build
One-Time Payments
Accept USDC, USDT, or SOL with automatic settlement to your wallet.
Subscriptions
Recurring billing with configurable intervals, trial periods, and automated collection.
Payment Links
Shareable checkout URLs with hosted pages — no frontend required.
Invoices
Professional invoicing with email delivery and payment tracking.
Installment Plans
Split purchases into scheduled payments with automatic reminders.
Payment Splits
Route funds to multiple recipients in a single transaction. Perfect for marketplaces.
How It Works
At a high level, every ZendFi payment follows this flow:- Your application creates a payment through the API or SDK.
- The customer completes payment via the hosted checkout, embedded checkout, or a direct Solana transfer.
- ZendFi monitors the blockchain, verifies the transaction, and settles funds to your merchant wallet.
- Your webhook endpoint receives a
payment.confirmedevent so you can fulfill the order.
Core Principles
Non-custodial by default. ZendFi never holds your funds. Payments settle directly to your Solana wallet. You maintain full control of your keys. Test and live modes. Every API key is scoped to eithertest (Solana devnet) or live (Solana mainnet). Switch between them by swapping your API key — the code stays the same.
Gasless transactions. Customers can pay without holding SOL for gas fees. ZendFi sponsors the transaction fees so your checkout flow is frictionless.
Idempotent by design. The SDK automatically generates idempotency keys for write operations. Retries are safe by default.
Quick Example
Next Steps
Get your API keys
Sign up at dashboard.zendfi.tech and grab your test key. It starts with
zfi_test_.Follow the quickstart
The Quickstart guide walks you through a complete integration in under five minutes.
Set up webhooks
Configure a webhook endpoint to receive real-time payment notifications. See the Webhooks guide.