Not released yet. PeltyCMS is under development and not released yet; these docs describe the upcoming release and may change.
PeltyCMS User docs
User docsDevelopers
v0.1.0

User docs/Client guide

API access

#API keys

API keys (/api-keys) creates personal tokens to automate your account through the PeltyCMS API, for example to list invoices or order services from your own scripts.

Shell
curl -H "Authorization: Bearer $PELTY_KEY" https://billing.example.com/api/v1/client/invoices

#Headless ordering

The headless API lets your own shop or app sell your provider's products with an API key: read the catalog, build a cart, check out, pay the invoice and follow the order.

MethodPathSummary
POST/api/v1/headless/cartsCreate a server-side cart owned by the key's customer; the response holds
GET/api/v1/headless/carts/{id}
PUT/api/v1/headless/carts/{id}
POST/api/v1/headless/carts/{id}/checkoutTurn the cart into an order and a finalized invoice (fraud screening,
GET/api/v1/headless/catalogCatalog, enabled currencies and payment gateways in one call.
POST/api/v1/headless/invoices/{id}/payStart a payment for an invoice; returns the gateway redirect/action.
GET/api/v1/headless/orders/{id}Order status with its invoice and provisioned services.

Full request and response details: HTTP API.

#Connected apps

Connected apps (/connected-apps) lists apps you allowed to sign in with your account. Revoke access to any you no longer use.

The full API reference is in the developer docs.