Zoneless
Your own open-source payments platform.
Accept payments, manage subscriptions, and pay sellers globally in USDC from infrastructure you control. No middlemen and no fees.
Docs ·
Website ·
Demo ·
Discord
---
Zoneless is an open-source payments stack for stablecoins.
It includes checkout, subscriptions, marketplace accounts, and payouts through a Stripe-compatible API. Use the full platform or add it alongside your current payment setup.
## Features
### Platform dashboard
Manage payments, customers, products, subscriptions, connected accounts, and balances from one place.
### Checkout
Create products and payment links, then let customers pay with USDC through hosted checkout.
### Payments
Manage payments, subscription charges, payouts, refunds, and other balance activity.
### Subscriptions
Manage recurring payments, invoices, and subscription status.
### Seller onboarding
Onboard sellers to your marketplace via a hosted flow where they can enter their details and connect a wallet.
### Identity verification
Set verification rules and review sellers who need an identity check.
### Seller dashboard
Give each seller an Express-style dashboard for viewing earnings, payouts, and account details.
## A familiar API
Zoneless uses familiar resources such as Checkout Sessions, Payment Links, Customers, Products, Subscriptions, Accounts, Transfers, and Payouts. It also follows Stripe's object shapes, webhook patterns, and idempotency model.
If you have worked with Stripe before, the SDK should feel familiar:
```typescript
import { Zoneless } from '@zoneless/node';
const client = new Zoneless('sk_live_z_YOUR_API_KEY', 'https://api.zoneless.com');
const session = await client.checkout.sessions.create({
success_url: 'https://yoursite.com/success',
cancel_url: 'https://yoursite.com/cancel',
line_items: [
{
price_data: {
currency: 'usdc',
unit_amount: 1000,
product_data: { name: 'My first product' },
},
quantity: 1,
},
],
mode: 'payment',
});
```
The API covers checkout, subscriptions, and marketplace payouts. See the [API reference](https://zoneless.com/docs) for the full list of resources and endpoints.
## Running in production
Zoneless was built for [PromptBase](https://promptbase.com), an AI marketplace with more than 500,000 users, and runs its seller payout infrastructure in production.
## Quick start
```bash
git clone https://github.com/zonelessdev/zoneless.git
cd zoneless
docker compose up -d
```
Open [localhost/setup](http://localhost/setup) to create your platform account and API key.
See the [self-hosting guide](https://zoneless.com/docs/self-hosting) for configuration, credentials, and deployment options.
## Guides and documentation
The full API reference is at **[zoneless.com/docs](https://zoneless.com/docs)**. These guides are good places to start:
- [Accept your first stablecoin payment](https://zoneless.com/docs/payment-link-quickstart)
- [Create a Checkout Session with the API](https://zoneless.com/docs/checkout-api-quickstart)
- [Onboard a seller and send a payout](https://zoneless.com/docs/quickstart)
- [Run Stripe and Zoneless side by side](https://zoneless.com/blog/run-stripe-and-zoneless-side-by-side)
- [Onboard sellers outside Stripe Connect's supported regions](https://zoneless.com/blog/onboard-sellers-stripe-connect-doesnt-support)
- [Move an existing Stripe Connect payout flow](https://zoneless.com/docs/migrate-from-stripe)
For a product overview, see [marketplace payouts](https://zoneless.com) or [USDC checkout and subscriptions](https://zoneless.com/payments).
## Local development
```bash
npm install
docker compose up -d # MongoDB
npx nx serve api # API on :3333
npx nx serve web # Dashboard on :4203
```
Or run everything at once:
```bash
npm run dev
```
### Running tests
```bash
npx nx test api
npx nx test web
```
## Project structure
```
zoneless/
├── apps/
│ ├── api/ # Express.js API backend
│ ├── web/ # Angular dashboard, checkout and onboarding
│ └── cli/ # Cli for humans and agents
├── libs/
│ ├── shared-types/ # Shared TypeScript interfaces
│ └── shared-schemas/ # Shared Zod schemas
├── docker-compose.yml # Full-stack Docker setup
└── nx.json
```
## Contributing
See [CONTRIBUTING.md](./CONTRIBUTING.md) for development setup, style guidelines, and the pull request process.
## Security
See [SECURITY.md](./SECURITY.md) to report vulnerabilities.
## License
[Apache License 2.0](./LICENSE)
---
If Zoneless is useful to you, give the repository a star. It helps more people find the project.