Subscription
A transaction is associated to an order and represents the movement of money.
Returns a list of subscriptions. The subscriptions are returned in descending order by creation date.
Authorizations
x-api-keystringRequired
Value for the x-api-key header parameter.
Query parameters
pageintegerOptionalDefault:
The collection page number
1createdAt[before]stringOptional
createdAt[strictly_before]stringOptional
createdAt[after]stringOptional
createdAt[strictly_after]stringOptional
updatedAt[before]stringOptional
updatedAt[strictly_before]stringOptional
updatedAt[after]stringOptional
updatedAt[strictly_after]stringOptional
startedAt[before]stringOptional
startedAt[strictly_before]stringOptional
startedAt[after]stringOptional
startedAt[strictly_after]stringOptional
endedAt[before]stringOptional
endedAt[strictly_before]stringOptional
endedAt[after]stringOptional
endedAt[strictly_after]stringOptional
cancelAt[before]stringOptional
cancelAt[strictly_before]stringOptional
cancelAt[after]stringOptional
cancelAt[strictly_after]stringOptional
cancelledAt[before]stringOptional
cancelledAt[strictly_before]stringOptional
cancelledAt[after]stringOptional
cancelledAt[strictly_after]stringOptional
Responses
200
Subscription collection
403
Forbidden
get
/subscriptionsGET /subscriptions HTTP/1.1
Host: api.glu.io
x-api-key: YOUR_API_KEY
Accept: */*
[
{
"id": 1,
"createdAt": "2025-11-21T01:47:58.744Z",
"updatedAt": "2025-11-21T01:47:58.744Z",
"startedAt": "2025-11-21T01:47:58.744Z",
"endedAt": null,
"contact": "https://example.com/",
"status": "Active",
"cancelAt": null,
"cancelledAt": null,
"product": "https://example.com/",
"tier": {},
"storedCreditAccount": "https://example.com/",
"pricing": {},
"pricingPeriod": "Monthly"
}
]Retrieves a Subscription resource.
Authorizations
x-api-keystringRequired
Value for the x-api-key header parameter.
Path parameters
idstringRequired
Subscription identifier
Responses
200
Subscription resource
403
Forbidden
404
Not found
get
/subscriptions/{id}GET /subscriptions/{id} HTTP/1.1
Host: api.glu.io
x-api-key: YOUR_API_KEY
Accept: */*
{
"id": 1,
"createdAt": "2025-11-21T01:47:58.744Z",
"updatedAt": "2025-11-21T01:47:58.744Z",
"startedAt": "2025-11-21T01:47:58.744Z",
"endedAt": null,
"contact": "https://example.com/",
"status": "Active",
"cancelAt": null,
"cancelledAt": null,
"product": "https://example.com/",
"tier": {},
"storedCreditAccount": "https://example.com/",
"pricing": {},
"pricingPeriod": "Monthly"
}Last updated