Subscriptions API


List

GET https://api.terrene.co/billing/subscriptions/


Name Description Required Location Schema Example
page None False query None

Create

POST https://api.terrene.co/billing/subscriptions/


Name Description Required Location Schema Example
name None True form None
amount None False form None
currency None False form None
auto_renew None False form None
expires_on None False form None
method None False form None

Read

GET https://api.terrene.co/billing/subscriptions/{object_id}/


Name Description Required Location Schema Example
object_id None True path None

Update

PUT https://api.terrene.co/billing/subscriptions/{object_id}/


Name Description Required Location Schema Example
object_id None True path None
name None True form None
amount None False form None
currency None False form None
auto_renew None False form None
expires_on None False form None
method None False form None

Partial Update

PATCH https://api.terrene.co/billing/subscriptions/{object_id}/


Name Description Required Location Schema Example
object_id None True path None
name None False form None
amount None False form None
currency None False form None
auto_renew None False form None
expires_on None False form None
method None False form None

Delete

DELETE https://api.terrene.co/billing/subscriptions/{object_id}/


Name Description Required Location Schema Example
object_id None True path None