Create Subscription​
POST
/bridge-payment/subscriptions
Create a new recurring subscription for a customer.
Authorizations​
SessionAuth
Session ID from Flowless authentication
TypeAPI Key (header: X-Session-ID)
or
Request Body​
application/json
JSON
{
"customer_id": "string",
"product_id": "string",
"payment_method_id": "string",
"provider_id": "stripe",
"organization_id": "string",
"price_cents": 0,
"currency": "string",
"billing_interval": "monthly",
"interval_multiplier": 1,
"trial_days": 0,
"custom_price_cents": 0,
"custom_trial_days": 0,
"metadata": {
"additionalProperties": "string"
},
"guest_data": {
"email": "string",
"name": "string"
}
}
Responses​
Subscription created successfully