Products API

Create and manage products programmatically with a Bearer token or dashboard session.

Authentication

Use a secret API key from Developer or your logged-in dashboard session cookie.

Endpoints

  • GET /api/products — list your products
  • POST /api/products — create a product
  • PATCH /api/products/<id> — update a product
  • DELETE /api/products/<id> — delete or archive

Create product

Request body

JSON

{
  "name": "My product",
  "description": "What the buyer gets",
  "price": 1000
}

price is in cents (1000 = $10.00).

Example

cURL

curl -X POST https://flintpay.cc/api/products \
  -H "Authorization: Bearer flint_sk_your_secret_key" \
  -H "Content-Type: application/json" \
  -d '{
    "name": "My product",
    "description": "Instant download",
    "price": 1000
  }'