cURL
curl --request GET \ --url https://api.rntor.com/v1/subscriptions/{id} \ --header 'Authorization: Bearer <token>' \ --header 'X-Client-ID: <api-key>'
{ "data": { "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "customer_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "company_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "billing_cycle": "monthly", "start_date": "2024-01-01", "end_date": "2024-12-31", "status": "active", "total_amount": 299, "currency": "USD", "payment_paused": false, "payment_paused_until": "2023-11-07T05:31:56Z", "created_at": "2023-11-07T05:31:56Z", "updated_at": "2023-11-07T05:31:56Z" }, "meta": { "request_id": "req_abc123def456", "timestamp": "2024-01-15T10:30:00Z" } }
Get a single subscription by ID
Your API client secret
Your API client ID
Successful response
Show child attributes