v1
latestOpenAPI 3.0.02026-07-1498163181.9 KBSubscriptions
List of subscriptions
Returns the list of subscriptions
get/api/v1/subscriptions
Query parameters
pagenumber
Page number. Starts from 1
limitnumber
Number of items per page
Filter by created date
idsstring
Filter by id. Returns items with given ids
clientReferenceIdstring
currencystring
statusstring
customerIdstring
priceIdstring
productIdstring
Response
Example response
{
"page": 1,
"limit": 10,
"count": 1,
"query": {
"page": 1,
"limit": 10
},
"data": [
{
"organizationId": "c3611c05-df51-4b47-b601-f2eac02f4ef0",
"intervalCount": 1,
"defaultPaymentMethodId": "c3611c05-df51-4b47-b601-f2eac02f4ef0",
"defaultPaymentMethod": {
"assetId": "c3611c05-df51-4b47-b601-f2eac02f4ef0",
"asset": {
"chainId": 1,
"decimals": 1,
"superToken": {
"decimals": 1
}
},
"customerId": "c3611c05-df51-4b47-b601-f2eac02f4ef0"
},
"customerId": "c3611c05-df51-4b47-b601-f2eac02f4ef0",
"customer": {
"id": "c3611c05-df51-4b47-b601-f2eac02f4ef0",
"taxIds": {
"data": [
{
"customerId": "c3611c05-df51-4b47-b601-f2eac02f4ef0"
}
]
}
},
"lineItems": {
"data": [
{
"quantity": 1,
"price": {
"productId": "c3611c05-df51-4b47-b601-f2eac02f4ef0",
"intervalCount": 1,
"product": {
"defaultPriceId": "c3611c05-df51-4b47-b601-f2eac02f4ef0"
}
},
"taxRates": [
{
"percentage": 1
}
]
}
]
}
}
]
}