cURL
curl --request GET \ --url https://app.alana.shopping/api/workspace/{workspaceId}/billing \ --header 'Authorization: Bearer <token>'
{ "plan": "pro", "status": "active", "current_period_start": "2024-02-15T00:00:00Z", "current_period_end": "2024-03-15T00:00:00Z", "amount_due": 99.99, "currency": "USD", "card_last_four": "4242" }
Bearer token authentication. Obtain a token via the authentication endpoint and include it in the Authorization header: Authorization: Bearer <token>
Authorization: Bearer <token>
The workspace ID
Billing overview retrieved successfully
standard
pro
business
enterprise
active
past_due
canceled