> ## 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.

# CheckoutFiatPayment

> Swift Structure

**Structure**

The settings for payment with fiat currency.

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

## Initializers

### init(enabled:defaultCurrency:allowedMethods:)

Creates the fiat payment settings.

```swift theme={null}
init(enabled: Bool, defaultCurrency: String? = nil, allowedMethods: CheckoutAllowedMethods? = nil)
```

### init(from:)

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

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

## Instance Properties

| Property          | Type                      | Description                                                              |
| ----------------- | ------------------------- | ------------------------------------------------------------------------ |
| `allowedMethods`  | `CheckoutAllowedMethods?` | The fiat payment methods the checkout offers.                            |
| `defaultCurrency` | `String?`                 | The currency the checkout selects first, for example `"usd"` or `"eur"`. |
| `enabled`         | `Bool`                    | A Boolean value that shows whether the buyer can pay with fiat currency. |
