> ## Documentation Index
> Fetch the complete documentation index at: https://docs.crossmint.com/llms.txt
> Use this file to discover all available pages before exploring further.

# CheckoutOrder

> Swift Structure

**Structure**

An order as the embedded checkout page reports it.

```swift theme={null}
struct CheckoutOrder
```

## Structures

### CheckoutOrder.Payment

The payment section of an order.

```swift theme={null}
struct Payment
```

The `status` value `requires-kyc` means the order waits on identity verification.

### CheckoutOrder.Preparation

The payment preparation section of an order.

```swift theme={null}
struct Preparation
```

## Initializers

### init(from:)

Inherited from `Decodable.init(from:)`.

```swift theme={null}
init(from decoder: Decoder) throws
```

## Instance Properties

| Property | Type | Description |
| - | - | - |
| `identityVerificationCredentials` | `IdentityVerificationCredentials?` | The credentials for the pending identity verification. |
| `orderId` | `String?` | The identifier of the order. |
| `payment` | `Payment?` | The payment section of the order. |
| `phase` | `Phase?` | The stage the order is in. |

## Enumerations

### CheckoutOrder.Phase

A stage in the life of an order.

```swift theme={null}
enum Phase
```
