List the caller's plan orders

gethttps://api.expiryedge.com/v1/getAllSubscriptions
any role60/min
Anfrage
curl 'https://api.expiryedge.com/v1/getAllSubscriptions' \
  -H "Authorization: Bearer $EXPIRYEDGE_API_KEY"
Antwort
[
  {
    "id": "ord_3Jk8Wq",
    "user_id": "u_71bXq",
    "organization_id": "org_northwind",
    "plan_type": "prod_SJbWzGAm137eGN",
    "subscription_period": 1,
    "period_unit": "month",
    "subscription_id": "sub_1QfT8sLm2Northwind",
    "currency": "usd",
    "total_amount": 29,
    "net_amount": 29,
    "status": "completed",
    "order_date": "2026-09-27T14:05:00.000Z",
    "createdAt": "2026-09-27T14:05:00.000Z"
  }
]

Returns every order bought by the calling user, newest first. Returns all records; unbounded.

Rückgabe

200
Orders, newest first.
  • idstringschreibgeschützt
  • user_idstringschreibgeschützt
    User who bought the plan.
  • organization_idstringschreibgeschützt
  • plan_typestringschreibgeschützt
    Stripe product id of the plan.
  • subscription_periodintegerschreibgeschützt
    Billing interval count.
  • period_unitstringschreibgeschützt
    Erlaubtdayweekmonthyear
  • subscription_idstringschreibgeschützt
    Stripe subscription id (sub_...).
  • currencystringschreibgeschützt
    Lowercase ISO currency code.
  • total_amountnumberschreibgeschützt
    Amount in major currency units (e.g. dollars).
  • net_amountnumberschreibgeschützt
  • statusstringschreibgeschützt
  • order_datestringschreibgeschützt
    format: date-time
  • createdAtstringschreibgeschützt
    format: date-time

Fehler

400
The request is missing required fields or contains invalid values.
401
Missing, expired or invalid bearer token.
429
Too many requests for this endpoint from your IP. Wait Retry-After seconds.