Orders API
Orders represent purchase records linked to users, organizations, and optionally projects.
Base URL
https://your-instance.pubflow.com/bridge-payment/orders
Operations
List orders
GET
/bridge-payment/orders
Lists orders for the authenticated user with optional organization/project filters.
Authorizations
SessionAuth
Session ID from Flowless authentication
TypeAPI Key (header: X-Session-ID)
Parameters
Query Parameters
limit
Typeinteger
Default
100organization_id
Typestring
project_id
Typestring
Responses
Orders retrieved
Create order
POST
/bridge-payment/orders
Creates a new order with user/org/project ownership checks.
Authorizations
SessionAuth
Session ID from Flowless authentication
TypeAPI Key (header: X-Session-ID)
Request Body
application/json
JSON
{
"user_id": "string",
"organization_id": "string",
"project_id": "string",
"customer_id": "string",
"amount_cents": 0,
"currency": "USD",
"status": "pending",
"items": [
{
"additionalProperties": "string"
}
],
"metadata": {
"additionalProperties": "string"
}
}
Responses
Order created
Get order by ID
Powered by VitePress OpenAPI