---
updatedAt: 2026-04-23T13:03:09.000Z
agentTools:
  projectIndex: https://sticky.readme.io/llms.txt
---

# Cancel Recovery v2

This enables merchants to halt the recovery process for previously declined transactions submitted through the Sticky Recovery service.

# OpenAPI definition

```json
{
  "openapi": "3.0.3",
  "info": {
    "title": "Sticky Recovery Production and Sandbox",
    "version": "2.0.0"
  },
  "servers": [
    {
      "url": "https://api.sticky.io",
      "description": "Production"
    },
    {
      "url": "https://sandbox-api.sticky.io",
      "description": "Sandbox"
    }
  ],
  "components": {
    "securitySchemes": {
      "ApiKeyAuth": {
        "type": "apiKey",
        "in": "header",
        "name": "api-key",
        "description": "API key used to authenticate requests."
      }
    }
  },
  "security": [
    {
      "ApiKeyAuth": []
    }
  ],
  "paths": {
    "/processing-hub/v2/api/recovery/cancel": {
      "post": {
        "description": "This enables merchants to halt the recovery process for previously declined transactions submitted through the Sticky Recovery service.",
        "operationId": "post_processing-hubv1apirecoverycancel",
        "responses": {
          "200": {
            "description": "200"
          },
          "400": {
            "description": "400",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {}
                }
              }
            }
          }
        },
        "parameters": [
          {
            "in": "header",
            "name": "API-Key",
            "schema": {
              "type": "string"
            },
            "description": "API key used for authentication and authorization of API requests.",
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "stickyTransactionId": {
                    "type": "string",
                    "description": "Unique identifier assigned to the recovery transaction session. Used to track and manage the lifecycle of a specific recovery attempt. Required when canceling an active recovery session."
                  },
                  "status": {
                    "type": "string",
                    "description": "The status of the transactions, valid options are CANCELED, DEFERRED, and RESOLVED.",
                    "default": "CANCELED"
                  }
                },
                "required": [
                  "stickyTransactionId",
                  "status"
                ]
              }
            }
          }
        },
        "summary": "Cancel Recovery v2"
      }
    }
  }
}
```