{
    "name": "Selypo API",
    "version": "v1",
    "auth": "Authorization: Bearer <API key from Settings \u2192 Developer>",
    "rate_limit": "120 requests/minute",
    "endpoints": {
        "GET /api/v1/me": "Your account and store",
        "GET /api/v1/products?page=&limit=": "Your products",
        "GET /api/v1/products/{id}": "One product with sales stats",
        "GET /api/v1/orders?status=paid&since=2026-01-01": "Your orders",
        "GET /api/v1/orders/{id}": "One order with items",
        "GET /api/v1/customers": "Customers with totals"
    },
    "webhooks": {
        "events": [
            "paid",
            "refunded",
            "subscription.created",
            "subscription.deleted"
        ],
        "signature": "X-Selypo-Signature: hex HMAC-SHA256 of the raw body using your API key",
        "body": "{\"event\":\"paid\",\"data\":{order},\"sent_at\":\"ISO-8601\"}"
    }
}