Documentation IndexFetch the complete documentation index at: /llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
cURL
curl --request GET \ --url http://localhost:7701/api/v1/subscriptions/{uuid}/cycles \ --header 'X-API-Key: <api-key>'
{ "data": [ { "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "subscription_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "period_start": "2023-11-07T05:31:56Z", "period_end": "2023-11-07T05:31:56Z", "amount": 2990, "discount_amount": 500, "status": "paid", "due_at": "2023-11-07T05:31:56Z", "paid_at": "2023-11-07T05:31:56Z", "failed_at": "2023-11-07T05:31:56Z", "retry_count": 0, "next_retry_at": "2023-11-07T05:31:56Z", "gateway_transaction_id": "<string>", "created_at": "2023-11-07T05:31:56Z" } ] }
Returns all billing cycles for a subscription, ordered by period start descending.
Company API key. Send in the X-API-Key header.
List of billing cycles
Show child attributes