Getting started
Introduction
Read your store's packages, orders and servers from your own systems – a Discord bot, a website, a stats page or accounting software.
Authentication
API keys, headers and rate limits.
Orders
List orders, filter by player and page through them.
Your own website
Show your packages on your own website, in your own design, and let CraftPay handle the payment, the receipt and the delivery in-game.
Install the plugin
Deliver purchases on your Minecraft server automatically.
Base URL
Every endpoint lives under this address:
https://api.craftpay.netQuick start
- 1Open the dashboard and go to your store → API.
- 2Create a key and copy it – it's shown only once.
- 3Send it in the
Authorizationheader on every request.
Your first request:
curl
curl https://api.craftpay.net/v1/store \
-H "Authorization: Bearer cp_sk_..."The basics
- Almost everything is
GET. The only write is POST/v1/checkouts, which starts a purchase. - Every answer is JSON. Lists come back as
{ "data": [ … ] }, single objects as{ "data": { … } }. - Amounts are integers in cents – 4900 means 49.00 – together with a currency code.
- Dates are ISO 8601 in UTC, e.g. 2026-11-11T17:20:00.000Z.
Stuck? Write to mail@craftpay.net