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

# Create unscheduled order

# OpenAPI definition

```json
{
  "openapi": "3.0.0",
  "info": {
    "version": "1.0",
    "title": "Unscheduled Payments"
  },
  "x-samples-languages": [
    "node",
    "curl",
    "ruby",
    "javascript",
    "objectivec",
    "python",
    "java",
    "php",
    "csharp",
    "swift",
    "go"
  ],
  "paths": {
    "/outlets/{outletId}/orders": {
      "post": {
        "summary": "Create unscheduled order",
        "operationId": "createOrder",
        "parameters": [
          {
            "name": "Authorization",
            "in": "header",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "outletId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/vnd.ni-payment.v2+json": {
              "schema": {
                "$ref": "#/components/schemas/UnscheduledOrderRequest"
              }
            }
          }
        },
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "responses": {
          "200": {
            "description": "successful operation",
            "headers": {},
            "content": {
              "application/vnd.ni-payment.v2+json": {
                "schema": {
                  "$ref": "#/components/schemas/UnscheduledOrderResponse"
                }
              }
            }
          }
        }
      }
    }
  },
  "servers": [
    {
      "url": "https://api-gateway.sandbox.ksa.ngenius-payments.com/transactions"
    }
  ],
  "components": {
    "securitySchemes": {
      "bearerAuth": {
        "type": "apiKey",
        "name": "Authorization",
        "in": "header"
      }
    },
    "schemas": {
      "UnscheduledOrderResponse": {
        "type": "object",
        "properties": {
          "state": {
            "type": "string",
            "readOnly": true
          },
          "reference": {
            "type": "string",
            "readOnly": true
          },
          "frequency": {
            "type": "string",
            "readOnly": true
          },
          "orderReference": {
            "type": "string",
            "readOnly": true
          },
          "outletId": {
            "type": "string",
            "readOnly": true
          },
          "startTime": {
            "type": "integer",
            "format": "int64",
            "readOnly": true
          }
        }
      },
      "Money": {
        "type": "object",
        "required": [
          "currencyCode"
        ],
        "properties": {
          "currencyCode": {
            "type": "string"
          },
          "value": {
            "type": "integer",
            "format": "int64",
            "minimum": 0
          }
        }
      },
      "UnscheduledOrderRequest": {
        "type": "object",
        "required": [
          "amount"
        ],
        "properties": {
          "action": {
            "type": "string",
            "readOnly": false,
            "enum": [
              "AUTH",
              "PURCHASE"
            ]
          },
          "amount": {
            "$ref": "#/components/schemas/Money"
          },
          "channel": {
            "type": "string",
            "readOnly": true,
            "enum": [
              "MoTo"
            ]
          },
          "type": {
            "type": "string",
            "writeOnly": true,
            "enum": [
              "UNSCHEDULED"
            ],
            "default": "UNSCHEDULED"
          }
        }
      }
    }
  },
  "x-readme": {
    "explorer-enabled": true,
    "proxy-enabled": true
  }
}
```