Delete a subscription
curl --request POST \
--url https://sandbox-platform.jupico.com/v1/subscriptions/delete \
--header 'Authorization: Basic <encoded-value>' \
--header 'Content-Type: application/json' \
--data '
{
"subMerchantId": "<string>",
"subscriptionId": "c23b205a-244b-4962-9337-a5b68f1c874f"
}
'import requests
url = "https://sandbox-platform.jupico.com/v1/subscriptions/delete"
payload = {
"subMerchantId": "<string>",
"subscriptionId": "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>',
subscriptionId: 'c23b205a-244b-4962-9337-a5b68f1c874f'
})
};
fetch('https://sandbox-platform.jupico.com/v1/subscriptions/delete', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));const url = 'https://sandbox-platform.jupico.com/v1/subscriptions/delete';
const options = {
method: 'POST',
headers: {Authorization: 'Basic <encoded-value>', 'Content-Type': 'application/json'},
body: JSON.stringify({
subMerchantId: '<string>',
subscriptionId: 'c23b205a-244b-4962-9337-a5b68f1c874f'
})
};
fetch(url, options)
.then(res => res.json())
.then(json => console.log(json))
.catch(err => console.error(err));Subscriptions
Delete a subscription
Permanently deletes a subscription and stops all future billing. This cannot be undone; to pause billing, use Deactivate instead.
POST
https://sandbox-platform.jupico.com
/
v1
/
subscriptions
/
delete
Delete a subscription
curl --request POST \
--url https://sandbox-platform.jupico.com/v1/subscriptions/delete \
--header 'Authorization: Basic <encoded-value>' \
--header 'Content-Type: application/json' \
--data '
{
"subMerchantId": "<string>",
"subscriptionId": "c23b205a-244b-4962-9337-a5b68f1c874f"
}
'import requests
url = "https://sandbox-platform.jupico.com/v1/subscriptions/delete"
payload = {
"subMerchantId": "<string>",
"subscriptionId": "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>',
subscriptionId: 'c23b205a-244b-4962-9337-a5b68f1c874f'
})
};
fetch('https://sandbox-platform.jupico.com/v1/subscriptions/delete', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));const url = 'https://sandbox-platform.jupico.com/v1/subscriptions/delete';
const options = {
method: 'POST',
headers: {Authorization: 'Basic <encoded-value>', 'Content-Type': 'application/json'},
body: JSON.stringify({
subMerchantId: '<string>',
subscriptionId: '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
Subscription successfully deleted.
Last modified on August 31, 2026
Was this page helpful?

