API referenceBilling
Keep the subscription (undo cancel)
POST
cookie
lb_session<token>Dashboard session cookie, set by the sign-in endpoints.
org*stringOrganization slug
OK
application/json- response
plan*status*SubscriptionStatusValue in
"none""active""past_due""on_hold""cancelled"currentPeriodStart*stringcurrentPeriodEnd*string|nullcancelAtPeriodEnd*booleanearlyBirdFreeUntil*string|nullpaymentMethod*|nullusage*otaBandwidthCapReached*booleanemergencyPublishesLeft*number|nullprovider*stringValue in
"fake""dodo"curl -X POST "https://example.com/v1/orgs/string/billing/resume"{ "plan": { "id": "free", "name": "string", "priceCents": 0, "currency": "string", "interval": "month", "description": "string", "features": [ "string" ], "limits": { "projects": 0, "members": 0, "otaPublishes": 0, "otaBandwidthGb": 0 }, "offer": { "name": "string", "freeMonths": 0 } }, "status": "none", "currentPeriodStart": "string", "currentPeriodEnd": "string", "cancelAtPeriodEnd": true, "earlyBirdFreeUntil": "string", "paymentMethod": { "brand": "string", "last4": "string" }, "usage": { "projects": { "used": 0, "limit": 0 }, "members": { "used": 0, "limit": 0 }, "otaPublishes": { "used": 0, "limit": 0 }, "otaBandwidthGb": { "used": 0, "limit": 0 } }, "otaBandwidthCapReached": true, "emergencyPublishesLeft": 0, "provider": "fake"}