Skip to content

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
Default100
organization_id
Typestring
project_id
Typestring

Responses

Orders retrieved

Playground

Server
Authorization
Variables
Key
Value

Samples

Powered by VitePress OpenAPI

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

Playground

Server
Authorization
Body

Samples

Powered by VitePress OpenAPI

Get order by ID

GET
/bridge-payment/orders/{id}

Returns a single order with ownership validation.

Authorizations

SessionAuth

Session ID from Flowless authentication

TypeAPI Key (header: X-Session-ID)

Parameters

Path Parameters

id*
Typestring
Required

Responses

Order retrieved

Playground

Server
Authorization
Variables
Key
Value

Samples

Powered by VitePress OpenAPI