# Get checkout

> For the complete documentation index, see [llms.txt](https://developer.fluxir.com/llms.txt).

**GET** `/api/app/checkout`

Retrieves a paged checkout list with Stripe session links and tenant metadata.

## Authorization

- oidc (openIdConnect)

## Header parameters

- `X-Tenant` (string)
  Tenant ID

## Query parameters

- `Statuses` (array)
- `Descending` (boolean)
- `From` (string)
- `To` (string)
- `Sorting` (string)
- `SkipCount` (integer)
- `MaxResultCount` (integer)

## Responses

### 200

OK

- `items` (object[])
  - `id` (integer<int64>)
  - `tripId` (integer<int64>)
  - `status` ("Unknown" | "Open" | "Completed" | "Expired")
  - `creationTime` (string<date-time>)
  - `paymentDate` (string<date-time>)
  - `items` (object[])
    - `id` (integer<int64>)
    - `serviceApplicationId` (integer<int64>)
    - `travelerFirstName` (string)
    - `travelerLastName` (string)
    - `serviceType` ("Visa" | "Insurance" | "AirportLounge" | "FastTrack" | "Esim" | "FlightItineraryLetter" | "HotelItineraryLetter")
    - `providerName` (string)
    - `priceCode` (string)
    - `description` (string)
    - `fee` (integer<int32>)
  - `checkoutUrl` (string)
  - `receiptUrl` (string)
  - `paymentUrl` (string)
  - `tenantId` (string<uuid>)
  - `tenantName` (string)
  - `tenantTitle` (string)
- `totalCount` (integer<int64>)

Example:

```json
{
  "items": [
    {
      "id": 0,
      "tripId": 0,
      "status": "Unknown",
      "creationTime": "1970-01-01T00:00:00.000Z",
      "paymentDate": "1970-01-01T00:00:00.000Z",
      "items": [
        {
          "id": 0,
          "serviceApplicationId": 0,
          "travelerFirstName": "string",
          "travelerLastName": "string",
          "serviceType": "Visa",
          "providerName": "string",
          "priceCode": "string",
          "description": "string",
          "fee": 0
        }
      ],
      "checkoutUrl": "string",
      "receiptUrl": "string",
      "paymentUrl": "string",
      "tenantId": "00000000-0000-0000-0000-000000000000",
      "tenantName": "string",
      "tenantTitle": "string"
    }
  ],
  "totalCount": 0
}
```

### 400

Bad Request

- `error` (object)
  - `code` (string)
  - `message` (string)
  - `details` (string)
  - `data` (object)
  - `validationErrors` (object[])
    - `message` (string)
    - `members` (string[])

Example:

```json
{
  "error": {
    "code": "string",
    "message": "string",
    "details": "string",
    "data": {},
    "validationErrors": [
      {
        "message": "string",
        "members": [
          "string"
        ]
      }
    ]
  }
}
```

### 401

Unauthorized

- `error` (object)
  - `code` (string)
  - `message` (string)
  - `details` (string)
  - `data` (object)
  - `validationErrors` (object[])
    - `message` (string)
    - `members` (string[])

Example:

```json
{
  "error": {
    "code": "string",
    "message": "string",
    "details": "string",
    "data": {},
    "validationErrors": [
      {
        "message": "string",
        "members": [
          "string"
        ]
      }
    ]
  }
}
```

### 403

Forbidden

- `error` (object)
  - `code` (string)
  - `message` (string)
  - `details` (string)
  - `data` (object)
  - `validationErrors` (object[])
    - `message` (string)
    - `members` (string[])

Example:

```json
{
  "error": {
    "code": "string",
    "message": "string",
    "details": "string",
    "data": {},
    "validationErrors": [
      {
        "message": "string",
        "members": [
          "string"
        ]
      }
    ]
  }
}
```

### 404

Not Found

- `error` (object)
  - `code` (string)
  - `message` (string)
  - `details` (string)
  - `data` (object)
  - `validationErrors` (object[])
    - `message` (string)
    - `members` (string[])

Example:

```json
{
  "error": {
    "code": "string",
    "message": "string",
    "details": "string",
    "data": {},
    "validationErrors": [
      {
        "message": "string",
        "members": [
          "string"
        ]
      }
    ]
  }
}
```

### 500

Internal Server Error

- `error` (object)
  - `code` (string)
  - `message` (string)
  - `details` (string)
  - `data` (object)
  - `validationErrors` (object[])
    - `message` (string)
    - `members` (string[])

Example:

```json
{
  "error": {
    "code": "string",
    "message": "string",
    "details": "string",
    "data": {},
    "validationErrors": [
      {
        "message": "string",
        "members": [
          "string"
        ]
      }
    ]
  }
}
```

### 501

Not Implemented

- `error` (object)
  - `code` (string)
  - `message` (string)
  - `details` (string)
  - `data` (object)
  - `validationErrors` (object[])
    - `message` (string)
    - `members` (string[])

Example:

```json
{
  "error": {
    "code": "string",
    "message": "string",
    "details": "string",
    "data": {},
    "validationErrors": [
      {
        "message": "string",
        "members": [
          "string"
        ]
      }
    ]
  }
}
```