Skip to main content
POST
/
api
/
v2
/
order
/
uncancel
/
{subscription_id}
/
{product_id}
Uncancel Order
curl --request POST \
  --url https://dashboard.statproxies.com/api/v2/order/uncancel/{subscription_id}/{product_id}
import requests

url = "https://dashboard.statproxies.com/api/v2/order/uncancel/{subscription_id}/{product_id}"

response = requests.post(url)

print(response.text)
const options = {method: 'POST'};

fetch('https://dashboard.statproxies.com/api/v2/order/uncancel/{subscription_id}/{product_id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));
<?php

$curl = curl_init();

curl_setopt_array($curl, [
CURLOPT_URL => "https://dashboard.statproxies.com/api/v2/order/uncancel/{subscription_id}/{product_id}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
]);

$response = curl_exec($curl);
$err = curl_error($curl);

curl_close($curl);

if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
package main

import (
"fmt"
"net/http"
"io"
)

func main() {

url := "https://dashboard.statproxies.com/api/v2/order/uncancel/{subscription_id}/{product_id}"

req, _ := http.NewRequest("POST", url, nil)

res, _ := http.DefaultClient.Do(req)

defer res.Body.Close()
body, _ := io.ReadAll(res.Body)

fmt.Println(string(body))

}
HttpResponse<String> response = Unirest.post("https://dashboard.statproxies.com/api/v2/order/uncancel/{subscription_id}/{product_id}")
.asString();
require 'uri'
require 'net/http'

url = URI("https://dashboard.statproxies.com/api/v2/order/uncancel/{subscription_id}/{product_id}")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Post.new(url)

response = http.request(request)
puts response.read_body
{
  "success": {},
  "success.message": "<string>",
  "success.order_id": "<string>",
  "success.subscription_id": "<string>"
}
Reverse a scheduled cancellation. This only works while the subscription is still active and set to cancel at period end — i.e., after Delete Order but before the period actually ends.
A subscription that has fully canceled or expired cannot be resumed. Create a new order instead.

Request

Headers

HeaderValueRequired
AuthorizationBearer {your_api_key}Yes

Path Parameters

subscription_id
string
required
The subscription ID from order creation.
product_id
string
required
The product ID (e.g., "captcha").

Example Request

curl -X POST "https://dashboard.statproxies.com/api/v2/order/uncancel/sub_1RqJP3JB4G9i6PKHDwmKPJOb/captcha" \
  -H "Authorization: Bearer {your_api_key}"

Response

Success Response

{
  "success": {
    "message": "Subscription cancellation reversed — the subscription will renew normally",
    "order_id": "sub_1rqjp3jb4g9i6pkhdwmkpjob",
    "subscription_id": "sub_1RqJP3JB4G9i6PKHDwmKPJOb"
  }
}

Response Fields

success
object
Success details object.
success.message
string
Confirmation message.
success.order_id
string
The order ID whose cancellation was reversed.
success.subscription_id
string
The Stripe subscription ID that will now renew normally.

Error Responses

400 Bad Request - Already Canceled

{
  "response": "error",
  "message": "The subscription has already fully canceled and cannot be resumed"
}

404 Not Found

{
  "message": "Order not found"
}
The order was not found, or it is not owned by your key’s user or organization.

Delete Order

Schedule a subscription to cancel at period end.

List Orders

Check whether an order is active or cancelled.