List the caller's plan orders
get
https://api.expiryedge.com/v1/getAllSubscriptionsany 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.
200
Orders, newest first.
idstringschreibgeschütztuser_idstringschreibgeschütztUser who bought the plan.organization_idstringschreibgeschütztplan_typestringschreibgeschütztStripe product id of the plan.subscription_periodintegerschreibgeschütztBilling interval count.period_unitstringschreibgeschütztErlaubtdayweekmonthyearsubscription_idstringschreibgeschütztStripe subscription id (sub_...).currencystringschreibgeschütztLowercase ISO currency code.total_amountnumberschreibgeschütztAmount in major currency units (e.g. dollars).net_amountnumberschreibgeschütztstatusstringschreibgeschütztorder_datestringschreibgeschütztformat: date-timecreatedAtstringschreibgeschütztformat: 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. |
