Skip to main content
GET
/
subscriptions
List subscriptions
curl --request GET \
  --url https://api.rntor.com/v1/subscriptions \
  --header 'Authorization: Bearer <token>' \
  --header 'X-Client-ID: <api-key>'
{
  "data": [
    {
      "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "customer_id": "4d91d4dd-1e55-5c61-9999-9ee36847163b",
      "billing_cycle": "monthly",
      "start_date": "2024-01-01",
      "end_date": null,
      "status": "active",
      "total_amount": 299,
      "currency": "USD",
      "payment_paused": false,
      "created_at": "2024-01-01T00:00:00Z",
      "updated_at": "2024-01-01T00:00:00Z"
    }
  ],
  "pagination": {
    "page": 1,
    "per_page": 20,
    "total": 150,
    "total_pages": 8,
    "has_more": true
  },
  "meta": {
    "request_id": "req_abc123def456",
    "timestamp": "2024-01-15T10:30:00Z"
  }
}

Authorizations

Authorization
string
header
required

Your API client secret

X-Client-ID
string
header
required

Your API client ID

Query Parameters

page
integer
default:1

Page number

Required range: x >= 1
per_page
integer
default:20

Items per page

Required range: 1 <= x <= 100
customer_id
string<uuid>
company_id
string<uuid>
status
enum<string>
Available options:
active,
paused,
cancelled,
expired

Response

Successful response

data
object[]
pagination
object
meta
object