---
updatedAt: 2026-02-26T13:12:25.000Z
agentTools:
  projectIndex: https://docs.ksa.ngenius-payments.com/llms.txt
---

# Cancel recurring order

# OpenAPI definition

```json
{
  "openapi": "3.0.0",
  "info": {
    "version": "1.0",
    "title": "Recurring Payments"
  },
  "x-samples-languages": [
    "node",
    "curl",
    "ruby",
    "javascript",
    "objectivec",
    "python",
    "java",
    "php",
    "csharp",
    "swift",
    "go"
  ],
  "paths": {
    "/outlets/{outletId}/orders/{ref}": {
      "delete": {
        "summary": "Cancel recurring order",
        "operationId": "cancelOrder",
        "parameters": [
          {
            "name": "Authorization",
            "in": "header",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "outletId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "ref",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "responses": {
          "default": {
            "description": "successful operation"
          }
        }
      }
    }
  },
  "servers": [
    {
      "url": "https://api-gateway.sandbox.ksa.ngenius-payments.com/recurring-payment"
    }
  ],
  "components": {
    "securitySchemes": {
      "bearerAuth": {
        "type": "apiKey",
        "name": "Authorization",
        "in": "header"
      }
    }
  },
  "x-readme": {
    "explorer-enabled": true,
    "proxy-enabled": true
  }
}
```