Get the current user’s subscription details.
cURL
curl --request GET \ --url https://api.example.com/api/billing/status \ --header 'Authorization: Bearer <token>'
{ "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "plan_tier": "<string>", "status": "<string>", "created_at": "2023-11-07T05:31:56Z", "billing_interval": "<string>", "trial_ends_at": "2023-11-07T05:31:56Z", "current_period_end": "2023-11-07T05:31:56Z", "canceled_at": "2023-11-07T05:31:56Z" }
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Successful Response
Subscription details returned by GET /api/billing/status.