API Reference
Complete API endpoint reference for QBitFlow. All endpoints require an X-API-Key header.
Base url: https://api.qbitflow.app/v1
Products
/productCreate a product
X-API-Key: <your-api-key>Request Body
/productGet all products
X-API-Key: <your-api-key>/product/id/{id}Get a product by ID
X-API-Key: <your-api-key>/product/{id}Update a product
X-API-Key: <your-api-key>Request Body
/product/{id}Delete a product
X-API-Key: <your-api-key>Users
/userCreate a user
⚠Requires admin or owner role.
X-API-Key: <your-api-key>Request Body
/userGet Me
Returns the user associated with the API key.
X-API-Key: <your-api-key>/user/allGet all users
⚠Requires admin or owner role.
X-API-Key: <your-api-key>/user/id/{id}Get a user by ID
⚠Requires admin or owner role.
X-API-Key: <your-api-key>/user/{id}Update a user
⚠If the API key belongs to the user, the organization fee is ignored.
⚠If the API key belongs to an admin or owner, the organization fee is updated.
X-API-Key: <your-api-key>Request Body
/user/{id}Delete a user
⚠Requires admin or owner role.
X-API-Key: <your-api-key>API Keys
/api-keyCreate an API key
⚠If the API key belongs to a user, creates an API key for that user.
⚠If the API key belongs to an admin or owner, creates an API key for the specified userId (within the same organization).
X-API-Key: <your-api-key>Request Body
/api-keyGet all my API keys
X-API-Key: <your-api-key>/api-key/{id}Delete an API key
X-API-Key: <your-api-key>Customers
/customerCreate a customer
X-API-Key: <your-api-key>Request Body
/customer/allGet all customers
X-API-Key: <your-api-key>/customer/uuid/{uuid}Get a customer by ID
X-API-Key: <your-api-key>/customerUpdate a customer
X-API-Key: <your-api-key>Request Body
/customer/uuid/{uuid}Delete a customer
X-API-Key: <your-api-key>One-Time Payments
/transaction/session-checkoutCreate a one-time payment (without a product)
Creates a payment session from scratch. Customer information can be provided with the request or collected during the payment process.
X-API-Key: <your-api-key>Request Body
/transaction/session-checkoutCreate a one-time payment (from a product)
Creates a payment session from an existing product. Customer information can be provided with the request or collected during the payment process.
X-API-Key: <your-api-key>Request Body
/transaction/session-checkout/{sessionId}Retrieve session checkout details
X-API-Key: <your-api-key>Transaction Info
/transaction/info/{transactionId}Retrieve transaction details
X-API-Key: <your-api-key>/transaction/payments/combinedGet all payments
X-API-Key: <your-api-key>Subscriptions
/transaction/session-checkoutCreate a subscription
X-API-Key: <your-api-key>Request Body
/transaction/session-checkoutCreate a subscription with trial period
X-API-Key: <your-api-key>Request Body
/transaction/subscription/history/{subscriptionId}Get subscription payment history
X-API-Key: <your-api-key>/transaction/subscription/{subscriptionId}Get subscription details
X-API-Key: <your-api-key>Webhooks
/webhooks/verifyVerify webhook signature
⚠The payload must be exactly the same as the one received in the webhook request. Read the raw body of the request received on your webhook endpoint and use it as the payload — do not parse it as JSON and re-stringify it, as formatting changes will cause signature verification failure.
X-API-Key: <your-api-key>Request Body