Documentation
Everything you need to use PasteBox.
Quick Start
- Go to Create a Paste
- Enter your content โ code, notes, links, anything text-based
- Choose visibility: Public, Login required, or Paid
- Click Create โ you get a shareable link instantly
No account needed for public pastes. Sign up to access the dashboard, analytics, and paid pastes.
Visibility Modes
๐Public
Anyone with the link can view. No login required. Great for sharing code snippets, notes, or public announcements.
๐Login Required
Viewers must be signed in to see content. Ideal for community resources or gated knowledge bases.
๐ฐPaid
Set a price (minimum $0.50). Viewers pay once via Stripe to unlock the content. You keep 90% of revenue.
Paid Pastes
To monetize content:
- Select Paid when creating a paste
- Set a price in USD (minimum $0.50)
- Share the link โ buyers see a paywall with the price and title
- Stripe handles checkout securely โ no card details touch our servers
- After payment, buyers can access the paste immediately via the confirmation link
Revenue split: You keep 90%. PasteBox retains 10% as a platform fee. Stripe's standard processing fees apply separately (~2.9% + $0.30).
API
PasteBox has a minimal REST API for programmatic paste creation.
POST /api/paste
{
"title": "My Paste", // optional
"content": "Hello world", // required
"visibility": "public", // public | login_required | paid
"price_cents": 500 // required if paid (โฅ50)
}Response:
{ "slug": "abc123xyz" }Rate limit: 20 requests/minute for anonymous callers.
Limits
| Feature | Free | Pro |
|---|---|---|
| Pastes per month | 10 | Unlimited |
| Paid pastes | โ | โ |
| Analytics | View count only | Full analytics |
| API rate limit | 20/min (anon) | Unlimited (auth) |
FAQ
Can I delete a paste?
Dashboard paste management is coming soon. Contact us to delete content manually.
What happens if a buyer requests a refund?
All sales are final by default. Handle refund disputes directly with your buyers via Stripe dashboard.
Is my content encrypted?
Content is stored in our database and transmitted over HTTPS. We do not encrypt content at rest โ avoid storing sensitive secrets.
What payment methods are supported?
All payment methods supported by Stripe in your region โ credit cards, Apple Pay, Google Pay, etc.
Can I share the same paid paste link after buying?
The post-payment access URL contains a session token. Sharing it grants access to the recipient. To protect your content, keep the link private.