Deactivate a plan
curl --request POST \
--url https://sandbox-platform.jupico.com/v1/subscriptions/plan/deactivate \
--header 'Authorization: Basic <encoded-value>' \
--header 'Content-Type: application/json' \
--data '
{
"subMerchantId": "<string>",
"planId": "c23b205a-244b-4962-9337-a5b68f1c874f"
}
'import requests
url = "https://sandbox-platform.jupico.com/v1/subscriptions/plan/deactivate"
payload = {
"subMerchantId": "<string>",
"planId": "c23b205a-244b-4962-9337-a5b68f1c874f"
}
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({subMerchantId: '<string>', planId: 'c23b205a-244b-4962-9337-a5b68f1c874f'})
};
fetch('https://sandbox-platform.jupico.com/v1/subscriptions/plan/deactivate', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));const url = 'https://sandbox-platform.jupico.com/v1/subscriptions/plan/deactivate';
const options = {
method: 'POST',
headers: {Authorization: 'Basic <encoded-value>', 'Content-Type': 'application/json'},
body: JSON.stringify({subMerchantId: '<string>', planId: 'c23b205a-244b-4962-9337-a5b68f1c874f'})
};
fetch(url, options)
.then(res => res.json())
.then(json => console.log(json))
.catch(err => console.error(err));Subscriptions
Deactivate a plan
Deactivates a plan so no new subscriptions can be created from it. Existing subscriptions are not affected.
POST
https://sandbox-platform.jupico.com
/
v1
/
subscriptions
/
plan
/
deactivate
Deactivate a plan
curl --request POST \
--url https://sandbox-platform.jupico.com/v1/subscriptions/plan/deactivate \
--header 'Authorization: Basic <encoded-value>' \
--header 'Content-Type: application/json' \
--data '
{
"subMerchantId": "<string>",
"planId": "c23b205a-244b-4962-9337-a5b68f1c874f"
}
'import requests
url = "https://sandbox-platform.jupico.com/v1/subscriptions/plan/deactivate"
payload = {
"subMerchantId": "<string>",
"planId": "c23b205a-244b-4962-9337-a5b68f1c874f"
}
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({subMerchantId: '<string>', planId: 'c23b205a-244b-4962-9337-a5b68f1c874f'})
};
fetch('https://sandbox-platform.jupico.com/v1/subscriptions/plan/deactivate', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));const url = 'https://sandbox-platform.jupico.com/v1/subscriptions/plan/deactivate';
const options = {
method: 'POST',
headers: {Authorization: 'Basic <encoded-value>', 'Content-Type': 'application/json'},
body: JSON.stringify({subMerchantId: '<string>', planId: 'c23b205a-244b-4962-9337-a5b68f1c874f'})
};
fetch(url, options)
.then(res => res.json())
.then(json => console.log(json))
.catch(err => console.error(err));Authorizations
Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.
Body
application/json
Response
Plan successfully deactivated.
Last modified on August 31, 2026
Was this page helpful?

