latestOpenAPI 3.1.02026-08-211061591.1 MB
69a962f1578f
Billing
Get Subscription Info
Return the current user's subscription state.
post/api/v1/payments/get_subscription_info
Response
Successful Response
Example response
{
"status": "autorenew",
"plan": "pro",
"expiration_date": "2026-12-31",
"activation_method": "stripe",
"plan_price": {
"amount": "600",
"raw_amount": 600,
"currency": "USD",
"billing_cycle": "monthly",
"tax_behavior": "exclusive"
},
"has_billing_portal": true,
"invoice_credit_balance": {
"usd": 0
}
}