Skip to content

Create Product (Admin)​

POST
/bridge-payment/admin/products

Admin endpoint to create a new product with intelligent pricing. You can provide either subtotal_cents or total_cents, and the system will calculate the missing fields automatically.

Authorizations​

SessionAuth

Session ID from Flowless authentication

TypeAPI Key (header: X-Session-ID)

Request Body​

application/json
JSON
{
"name": "string",
"description": "string",
"product_type": "string",
"is_recurring": false,
"subtotal_cents": 0,
"tax_cents": 0,
"discount_cents": 0,
"total_cents": 0,
"currency": "USD",
"billing_interval": "string",
"interval_count": 1,
"trial_days": 0,
"category": "string",
"is_active": true,
"metadata": {
}
}

Responses​

Product created successfully

Playground​

Server
Authorization
Body

Samples​

Powered by VitePress OpenAPI