List subscriptions
curl --request POST \
--url https://sandbox-platform.jupico.com/v1/query/subscriptions \
--header 'Authorization: Basic <encoded-value>' \
--header 'Content-Type: application/json' \
--data '{}'import requests
url = "https://sandbox-platform.jupico.com/v1/query/subscriptions"
payload = {}
headers = {
"Authorization": "Basic <encoded-value>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Basic <encoded-value>', 'Content-Type': 'application/json'},
body: JSON.stringify({})
};
fetch('https://sandbox-platform.jupico.com/v1/query/subscriptions', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));const url = 'https://sandbox-platform.jupico.com/v1/query/subscriptions';
const options = {
method: 'POST',
headers: {Authorization: 'Basic <encoded-value>', 'Content-Type': 'application/json'},
body: JSON.stringify({})
};
fetch(url, options)
.then(res => res.json())
.then(json => console.log(json))
.catch(err => console.error(err));{
"success": true,
"message": "<string>",
"code": "<string>",
"data": [
{
"_id": "<string>",
"facId": "<string>",
"spProductId": "<string>",
"subMerchantId": "<string>",
"subscriptionId": "<string>",
"planId": "<string>",
"schedules": [
{
"scheduleId": "<string>",
"order": 123,
"label": "<string>",
"invoiceDescription": "<string>",
"frequency": "<string>",
"cyclesQty": 123,
"executionDays": [
123
],
"discount": {
"enabled": true,
"percentage": 123
},
"pricingModel": {
"type": "<string>",
"free": {
"daysQty": 123
},
"flat": {
"price": 123
}
},
"enabled": true
}
],
"executions": [
{
"executionId": "<string>",
"date": "2023-11-07T05:31:56Z",
"amount": 123,
"pricingModel": {
"type": "<string>",
"free": {
"daysQty": 123
},
"flat": {
"price": 123
}
},
"scheduleId": "<string>",
"transactionId": "<string>",
"invoiceId": "<string>",
"status": "<string>"
}
],
"startDate": "2023-11-07T05:31:56Z",
"status": "<string>",
"customerId": "<string>",
"token": "<string>",
"nextExecution": {
"executionId": "<string>",
"date": "2023-11-07T05:31:56Z",
"amount": 123,
"pricingModel": {
"type": "<string>",
"free": {
"daysQty": 123
},
"flat": {
"price": 123
}
},
"scheduleId": "<string>",
"transactionId": "<string>",
"invoiceId": "<string>",
"status": "<string>"
},
"creditCard": {
"_id": "<string>",
"facId": "<string>",
"subMerchantId": "<string>",
"token": "<string>",
"cardHolderName": "<string>",
"expirationMonth": "<string>",
"expirationYear": "<string>",
"cardLogo": "<string>",
"truncatedCardNumber": "<string>"
}
}
]
}Query
List subscriptions
Returns subscriptions, both active and inactive, including their schedules and billing status.
POST
https://sandbox-platform.jupico.com
/
v1
/
query
/
subscriptions
List subscriptions
curl --request POST \
--url https://sandbox-platform.jupico.com/v1/query/subscriptions \
--header 'Authorization: Basic <encoded-value>' \
--header 'Content-Type: application/json' \
--data '{}'import requests
url = "https://sandbox-platform.jupico.com/v1/query/subscriptions"
payload = {}
headers = {
"Authorization": "Basic <encoded-value>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Basic <encoded-value>', 'Content-Type': 'application/json'},
body: JSON.stringify({})
};
fetch('https://sandbox-platform.jupico.com/v1/query/subscriptions', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));const url = 'https://sandbox-platform.jupico.com/v1/query/subscriptions';
const options = {
method: 'POST',
headers: {Authorization: 'Basic <encoded-value>', 'Content-Type': 'application/json'},
body: JSON.stringify({})
};
fetch(url, options)
.then(res => res.json())
.then(json => console.log(json))
.catch(err => console.error(err));{
"success": true,
"message": "<string>",
"code": "<string>",
"data": [
{
"_id": "<string>",
"facId": "<string>",
"spProductId": "<string>",
"subMerchantId": "<string>",
"subscriptionId": "<string>",
"planId": "<string>",
"schedules": [
{
"scheduleId": "<string>",
"order": 123,
"label": "<string>",
"invoiceDescription": "<string>",
"frequency": "<string>",
"cyclesQty": 123,
"executionDays": [
123
],
"discount": {
"enabled": true,
"percentage": 123
},
"pricingModel": {
"type": "<string>",
"free": {
"daysQty": 123
},
"flat": {
"price": 123
}
},
"enabled": true
}
],
"executions": [
{
"executionId": "<string>",
"date": "2023-11-07T05:31:56Z",
"amount": 123,
"pricingModel": {
"type": "<string>",
"free": {
"daysQty": 123
},
"flat": {
"price": 123
}
},
"scheduleId": "<string>",
"transactionId": "<string>",
"invoiceId": "<string>",
"status": "<string>"
}
],
"startDate": "2023-11-07T05:31:56Z",
"status": "<string>",
"customerId": "<string>",
"token": "<string>",
"nextExecution": {
"executionId": "<string>",
"date": "2023-11-07T05:31:56Z",
"amount": 123,
"pricingModel": {
"type": "<string>",
"free": {
"daysQty": 123
},
"flat": {
"price": 123
}
},
"scheduleId": "<string>",
"transactionId": "<string>",
"invoiceId": "<string>",
"status": "<string>"
},
"creditCard": {
"_id": "<string>",
"facId": "<string>",
"subMerchantId": "<string>",
"token": "<string>",
"cardHolderName": "<string>",
"expirationMonth": "<string>",
"expirationYear": "<string>",
"cardLogo": "<string>",
"truncatedCardNumber": "<string>"
}
}
]
}Authorizations
Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.
Body
application/json
The body is of type object.
Response
200 - application/json
Find Subscriptions
Last modified on July 14, 2026
Was this page helpful?
⌘I

