---
updatedAt: 2026-06-03T10:02:31.000Z
agentTools:
  projectIndex: https://snaprefund.readme.io/llms.txt
---

# Cancel pending payment

Cancel your payment. Change payment status to Cancelled. It works only for payments in status Awaiting-cash-out.

# OpenAPI definition

```json
{
  "openapi": "3.0.0",
  "paths": {
    "/api/public/payments/{paymentId}/cancel": {
      "patch": {
        "operationId": "PublicApiPaymentsController_cancelPayment",
        "summary": "Cancel pending payment",
        "description": "Cancel your payment. Change payment status to Cancelled. It works only for payments in status Awaiting-cash-out.",
        "parameters": [
          {
            "name": "paymentId",
            "required": true,
            "in": "path",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": ""
          }
        },
        "tags": [
          "payments"
        ],
        "security": [
          {
            "Authorization": []
          }
        ]
      }
    }
  },
  "info": {
    "title": "STAGING",
    "description": "",
    "version": "2.0",
    "contact": {}
  },
  "servers": [
    {
      "url": "https://claims-staging.snaprefund.io"
    }
  ],
  "components": {
    "securitySchemes": {
      "Authorization": {
        "type": "apiKey",
        "in": "header",
        "name": "Authorization"
      }
    }
  },
  "x-readme": {
    "explorer-enabled": true,
    "proxy-enabled": true
  }
}
```