Admin Billing

Create a new product

post/v1/admin/products

Request body

namestring required

Product name

descriptionstring required

Product description

category'homeowner_plan' | 'pro_plan' | 'generation_credits_pack' | 'marketplace_template' required

Product category

stripePriceIdstring required

Stripe price ID

stripeProductIdstring nullable

Stripe product ID

priceinteger required

Product price in cents

currencystring

Currency code

billingType'one_time' | 'recurring' required

Billing type

billingInterval'day' | 'week' | 'month' | 'year' nullable

Billing interval

billingIntervalCountinteger nullable

Number of intervals between billings

Response

Product created successfully

successboolean required

Indicates if the request was successful

messagestring required

Human readable message

timestampstring date-time required

Timestamp of the response

Changes

No recorded changes to this endpoint across all 1 revision of this API.