---
updatedAt: 2025-08-20T15:27:41.000Z
agentTools:
  projectIndex: https://docs.developer.rabobank.com/smartpay/llms.txt
---

# Get a specific order

Get a specific order.

# OpenAPI definition

```json
{
  "openapi": "3.0.0",
  "info": {
    "description": "SmartPin API",
    "title": "SmartPin Public API",
    "version": "1.3.4",
    "x-api-id": "54b1a324-fe2b-41fe-95de-62380de2174b",
    "x-ibm-name": "smartpin-backend-api"
  },
  "servers": [
    {
      "url": "https://api.rabobank.nl/api/v1",
      "description": "Production server"
    }
  ],
  "paths": {
    "/order/for-id/{orderId}": {
      "get": {
        "parameters": [
          {
            "description": "The contract ID",
            "example": "123456, C123456, U412345",
            "in": "header",
            "name": "Contract",
            "required": false,
            "schema": {
              "pattern": "^([A-Z][A-Z0-9]{1,10})|$",
              "type": "string"
            }
          },
          {
            "description": "The order ID",
            "example": 1234,
            "in": "path",
            "name": "orderId",
            "required": true,
            "schema": {
              "format": "int64",
              "type": "integer"
            }
          },
          {
            "in": "header",
            "name": "Accept",
            "required": true,
            "schema": {
              "pattern": "^application\\/json$",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/OrderResponse"
                }
              }
            },
            "description": "An order"
          }
        },
        "tags": [
          "Orders"
        ],
        "description": "Get a specific order.",
        "operationId": "getOrder_1",
        "summary": "Get a specific order"
      }
    }
  },
  "components": {
    "schemas": {
      "LocationResponse": {
        "properties": {
          "latitude": {
            "format": "double",
            "type": "number"
          },
          "longitude": {
            "format": "double",
            "type": "number"
          }
        },
        "type": "object"
      },
      "OrderItemProductOptionsResponse": {
        "properties": {
          "amount": {
            "type": "number"
          },
          "amount_original": {
            "type": "number"
          },
          "constraint": {
            "enum": [
              "SINGLE",
              "MULTIPLE_UNIQUE",
              "MULTIPLE"
            ],
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "price": {
            "type": "number"
          },
          "price_original": {
            "type": "number"
          },
          "product_option_id": {
            "format": "uuid",
            "type": "string"
          },
          "quantity": {
            "format": "int32",
            "type": "integer"
          },
          "required": {
            "type": "boolean"
          },
          "sequence": {
            "format": "int32",
            "type": "integer"
          }
        },
        "required": [
          "product_option_id"
        ],
        "type": "object"
      },
      "OrderItemResponse": {
        "properties": {
          "amount": {
            "description": "The total amount for all items (price * quantity), including any item discount.",
            "type": "number"
          },
          "amount_original": {
            "description": "The total amount for all items (price_original * quantity), excluding any item discount.",
            "type": "number"
          },
          "category_name": {
            "description": "Optional name of the category when using a product in a category.",
            "type": "string"
          },
          "name": {
            "description": "The name of the order item. It can be either a product name or a self assigned name.",
            "type": "string"
          },
          "price": {
            "description": "The price for a single item, including any item discount.",
            "type": "number"
          },
          "price_original": {
            "description": "The price for a single item, excluding any item discount.",
            "type": "number"
          },
          "product_options": {
            "items": {
              "$ref": "#/components/schemas/OrderItemProductOptionsResponse"
            },
            "type": "array"
          },
          "quantity": {
            "description": "The quantity of the items.",
            "type": "number"
          },
          "unit": {
            "description": "The unit of the order item, if a product which uses units is set. A product uses units, if it is sold per unit. For example: a product is sold per 100 g. ",
            "type": "string"
          },
          "unit_amount": {
            "type": "number"
          },
          "unit_base": {
            "description": "The unit quantity of the unit, if a product which uses units is set. For example: if a product is sold per 100 g, the `unit_base` would be set to `100.0`. ",
            "type": "number"
          },
          "unit_price_base": {
            "type": "number"
          },
          "vat_type": {
            "description": "The VAT type",
            "enum": [
              "REGULAR",
              "LOW",
              "ZERO",
              "LOW_6"
            ],
            "type": "string"
          }
        },
        "required": [
          "quantity"
        ],
        "type": "object"
      },
      "OrderResponse": {
        "properties": {
          "aid": {
            "type": "string"
          },
          "amount": {
            "type": "number"
          },
          "auth_code": {
            "type": "string"
          },
          "authorization_code": {
            "type": "string"
          },
          "card_type": {
            "type": "string"
          },
          "change_amount": {
            "type": "number"
          },
          "date_time": {
            "format": "date-time",
            "type": "string"
          },
          "discount_description": {
            "type": "string"
          },
          "discount_percent": {
            "type": "number"
          },
          "error_code": {
            "format": "int64",
            "type": "integer"
          },
          "external_id": {
            "type": "string"
          },
          "id": {
            "format": "int64",
            "type": "integer"
          },
          "ledger_id": {
            "format": "int32",
            "type": "integer"
          },
          "location": {
            "$ref": "#/components/schemas/LocationResponse"
          },
          "order_items": {
            "items": {
              "$ref": "#/components/schemas/OrderItemResponse"
            },
            "type": "array"
          },
          "paid_amount": {
            "type": "number"
          },
          "receipt_name": {
            "type": "string"
          },
          "reference": {
            "type": "string"
          },
          "site_external_id": {
            "type": "string"
          },
          "site_id": {
            "format": "int32",
            "type": "integer"
          },
          "state": {
            "enum": [
              "APPROVED",
              "DECLINED",
              "PENDING"
            ],
            "type": "string"
          },
          "status": {
            "format": "int32",
            "type": "integer"
          },
          "terminal_external_id": {
            "type": "string"
          },
          "terminal_id": {
            "format": "int32",
            "type": "integer"
          },
          "third_party_reference": {
            "type": "string"
          },
          "transaction_id": {
            "type": "string"
          },
          "truncated_pan": {
            "type": "string"
          },
          "type": {
            "enum": [
              "PIN",
              "CASH",
              "IDEAL",
              "PAYMENTREQ"
            ],
            "type": "string"
          },
          "user_id": {
            "format": "int64",
            "type": "integer"
          },
          "vat_enabled": {
            "type": "boolean"
          },
          "vat_high_amount": {
            "type": "number"
          },
          "vat_high_base_amount": {
            "type": "number"
          },
          "vat_low_amount": {
            "type": "number"
          },
          "vat_low_base_amount": {
            "type": "number"
          },
          "vat_zero_amount": {
            "type": "number"
          },
          "vat_zero_base_amount": {
            "type": "number"
          },
          "verified": {
            "type": "boolean"
          }
        },
        "required": [
          "id",
          "verified"
        ],
        "type": "object"
      }
    },
    "securitySchemes": {
      "clientId": {
        "description": "ClientId as provided by the Rabobank developer portal.",
        "in": "header",
        "name": "X-IBM-Client-Id",
        "type": "apiKey"
      }
    }
  },
  "security": [
    {
      "clientId": []
    }
  ],
  "x-readme": {
    "explorer-enabled": false,
    "proxy-enabled": false
  }
}
```