List the caller's plan orders
get
https://api.expiryedge.com/v1/getAllSubscriptionsany role60/min
Request
curl 'https://api.expiryedge.com/v1/getAllSubscriptions' \
-H "Authorization: Bearer $EXPIRYEDGE_API_KEY"Response
[
{
"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.
200
Orders, newest first.
idstringread-onlyuser_idstringread-onlyUser who bought the plan.organization_idstringread-onlyplan_typestringread-onlyStripe product id of the plan.subscription_periodintegerread-onlyBilling interval count.period_unitstringread-onlyAlloweddayweekmonthyearsubscription_idstringread-onlyStripe subscription id (sub_...).currencystringread-onlyLowercase ISO currency code.total_amountnumberread-onlyAmount in major currency units (e.g. dollars).net_amountnumberread-onlystatusstringread-onlyorder_datestringread-onlyformat: date-timecreatedAtstringread-onlyformat: date-time
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. |
