Subscriptions
Last updated
Last updated
GET
https://yoursite.mavenseed.com/api/v1/subscriptions
Retrieve all subscriptions
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
GET
https://yoursite.mavenseed.com/api/v1/subscriptions/:id
Retrieve a single subscription
POST
https://yoursite.mavenseed.com/api/v1/subscriptions
Create a subscription.
PATCH
https://yoursite.mavenseed.com/api/v1/subscriptions/:id
Update a single subscription. All of the above properties in create subscription are valid.
DELETE
https://yoursite.mavenseed.com/api/v1/subscriptions/:id
Delete a subscription.
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
page
integer
Results are paginated.
Authorization
string
Auth token
Authorization
string
Auth token
Authorization
string
Auth Token
customer_id
integer
ID of customer to attach subscription to
subscription_plan_id
integer
ID of subscription plan for customoer
stripe_id
string
Stripe subscription id
expiration
string
Expiration of subscription in datetime format
status
integer
0 - active, 1 - past_due, 2- canceled, 3 - unpaid, 4 - free
Authorization
string
Auth token
Authorization
string
Auth token.