/
SC
schematichq
/
Schematic API
Search skmtc…
⌘K
Docs
Sign in
Sign in
APIs
Generators
Stacks
Projects
Docs
History
Schema
Sources
Checked 56m ago · Updated 5h ago
View markdown
schematichq
Schematic API
post
Upsert billing subscription
419cb5147b52
OpenAPI 3.0.0
raw.githubusercontent.com
2026-08-10
262
493
962.8 KB
accesstokens
1
accounts
19
billing
24
get
List coupons
post
Upsert billing coupon
delete
Delete billing coupon
delete
Delete billing customer
post
Upsert billing customer
get
List customers with subscriptions
get
Count customers
get
List invoices
post
Upsert invoice
delete
Delete billing invoice
get
List meters
post
Upsert billing meter
get
List payment methods
post
Upsert payment method
delete
Delete payment method by external ID
get
List billing prices
post
Upsert billing price
delete
Delete billing product
get
List billing product prices
delete
Delete product price
post
Upsert billing product
get
List billing products
get
Count billing products
post
Upsert billing subscription
catalogs
14
checkout
9
companies
40
components
8
componentspublic
1
credits
30
dataexports
4
entitlements
24
events
6
features
17
insights
6
integrationsapi
9
licenses
3
planbundle
3
plangroups
3
planmigrations
9
plans
18
scheduledcheckout
4
webhooks
10
billing
Upsert billing subscription
post
/billing/subscription/upsert
Request body
CreateBillingSubscriptionRequestBody
required
application_id
string
nullable
cancel_at
integer
nullable
cancel_at_period_end
boolean
required
company_id
string
nullable
currency
string
required
customer_external_id
string
required
default_payment_method_external_id
string
nullable
default_payment_method_id
string
nullable
discounts
BillingSubscriptionDiscount[]
required
expired_at
string
date-time
required
interval
string
nullable
metadata
object
nullable
period_end
integer
nullable
period_start
integer
nullable
product_external_ids
BillingProductPricing[]
required
provider_type
'metronome'
|
'orb'
|
'schematic'
|
'stripe'
status
string
nullable
subscription_external_id
string
required
total_price
integer
required
trial_end
integer
nullable
trial_end_setting
'cancel'
|
'subscribe'
Response
Created
object
required
data
BillingSubscriptionResponseData
required
params
object
required
Input parameters