Undo a cancellation before the subscription expires
curl --request POST \
--url https://api.storiza.store/payments/subscriptions/{id} \
--header 'Authorization: Bearer <token>'const options = {method: 'POST', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.storiza.store/payments/subscriptions/{id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.storiza.store/payments/subscriptions/{id}"
headers = {"Authorization": "Bearer <token>"}
response = requests.post(url, headers=headers)
print(response.text){
"success": true,
"message": "Subscription resumed successfully",
"data": {
"id": "00000000-0000-4000-8000-000000000000",
"status": "active",
"user": {
"id": "00000000-0000-4000-8000-000000000000"
},
"provider": "balance",
"method": "balance",
"amount": "12",
"currency": "USD",
"durationDays": 30,
"currentPeriodEnd": "2026-10-09T14:57:33.877Z",
"supportsManagement": false,
"metadata": {}
}
}Subscriptions
Undo a cancellation before the subscription expires
Reactivates a subscription that was cancelled while its paid period is still running. Once the period has passed there is nothing to resume — subscribe again instead.
Required API key permission: billing:write
POST
/
payments
/
subscriptions
/
{id}
Undo a cancellation before the subscription expires
curl --request POST \
--url https://api.storiza.store/payments/subscriptions/{id} \
--header 'Authorization: Bearer <token>'const options = {method: 'POST', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.storiza.store/payments/subscriptions/{id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.storiza.store/payments/subscriptions/{id}"
headers = {"Authorization": "Bearer <token>"}
response = requests.post(url, headers=headers)
print(response.text){
"success": true,
"message": "Subscription resumed successfully",
"data": {
"id": "00000000-0000-4000-8000-000000000000",
"status": "active",
"user": {
"id": "00000000-0000-4000-8000-000000000000"
},
"provider": "balance",
"method": "balance",
"amount": "12",
"currency": "USD",
"durationDays": 30,
"currentPeriodEnd": "2026-10-09T14:57:33.877Z",
"supportsManagement": false,
"metadata": {}
}
}Authorizations
An API key from the Storiza dashboard (API & Integrations), sent as Authorization: Bearer stz_….
Path Parameters
Response
Subscription resumed successfully
Available options:
true Available options:
Subscription resumed successfully Schema for Subscription model
Show child attributes
Show child attributes
Example:
{
"id": "00000000-0000-4000-8000-000000000000",
"status": "active",
"user": {
"id": "00000000-0000-4000-8000-000000000000"
},
"provider": "balance",
"method": "balance",
"amount": "12",
"currency": "USD",
"durationDays": 30,
"currentPeriodEnd": "2026-10-09T14:57:33.877Z",
"supportsManagement": false,
"metadata": {}
}
Was this page helpful?