Skip to content

Get Subscription

GET
/billing/subscription
curl --request GET \
--url https://api.mengi.cloud/billing/subscription

Successful Response

Media type application/json
SubscriptionResponse
object
id
required
Id
string format: uuid
plan
required
PlanType
string
Allowed values: free
status
required
SubscriptionStatus
string
Allowed values: active past_due canceled trialing incomplete suspended pending_deletion
billing_mode
Any of:
string
current_period_start
Any of:
string format: date-time
current_period_end
Any of:
string format: date-time
next_billing_date
Any of:
string format: date-time
created_at
required
Created At
string format: date-time
Example
{
"plan": "free",
"status": "active",
"billing_mode": "threshold"
}