
Introduction
OpenStock Docs
What you can build on OpenStock and where to start.
OpenStock is a hosted platform for selling digital products — license keys, files, Discord roles and more — with automated delivery, card, PayPal and crypto payments, custom domains and fraud protection. These docs cover running a store from the dashboard and integrating it with your own systems through the API.
Where to start#
Quickstart
Create an API key and send a customer to checkout.
Hosted checkout
Sell from your own site or app using OpenStock’s checkout.
Webhooks
Get notified when payments and withdrawals complete.
API Reference
Every endpoint with parameters and example responses.
What the API covers#
The public API is organised into three areas, each unlocked by its own API key permission:
- Checkout sessions — create hosted checkouts for custom line items or products in your store, then track or cancel them.
- Withdrawals — read crypto wallet balances and send payouts to external addresses.
- Customer balance — look up customers and credit or debit their store balance.
Prefer the dashboard?
Everything in the Guides tab can be done without code. The API is optional and only needed when you want to automate or embed OpenStock in another product.