/
SC
schematichq
/
Schematic API
Search skmtc…
⌘K
Changes
Docs
Sign in
Sign in
APIs
Generators
Stacks
Projects
Docs
History
Schema
Checked 50m ago · Updated 8h ago
Details
Filter operations
accesstokens
1
accounts
18
billing
20
get
List coupons
post
Upsert billing coupon
post
Upsert billing customer
get
List customers with subscriptions
get
Count customers
get
List invoices
post
Upsert invoice
get
List meters
post
Upsert billing meter
get
List payment methods
post
Upsert payment method
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
checkout
7
companies
36
components
7
componentspublic
1
credits
32
dataexports
2
entitlements
22
events
6
features
17
insights
6
integrationsapi
6
planbundle
3
plangroups
3
planmigrations
5
plans
17
scheduledcheckout
4
webhooks
9
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
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
'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
Changes