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

# Configure Payment Options

> Customize the payment methods available to users

## Payment Methods Supported

<CardGroup cols={3}>
  <Card title="Debit & Credit cards" icon="credit-card" iconType="duotone" color="1F2BAD" />

  <Card title="Apple & Google Pay" icon="mobile" iconType="duotone" color="222422" />

  <Card title="Cross-chain crypto" icon="coins" iconType="duotone" color="#E6DB63" />
</CardGroup>

<Note>
  Buyers can purchase digital assets with any cryptocurrency. For example, they can pay for an asset on Optimism chain
  with mainnet ETH. This is done real time without bridging and lower gas fees.
</Note>

## Configure Payment Settings

You can configure payment preferences using the `payment` prop:

```tsx theme={null}
<CrossmintHostedCheckout
    payment={{
        // Enable/disable payment types
        fiat: {
            enabled: true,
            defaultCurrency: "usd", // Set preferred fiat currency
        },
        crypto: {
            enabled: true,
            defaultChain: "polygon", // Set preferred blockchain
            defaultCurrency: "matic", // Set preferred crypto
        },
        // Optional: Set default payment method
        defaultMethod: "fiat", // Options: "fiat" or "crypto"
        // Optional: Set receipt email
        receiptEmail: "buyer@example.com",
    }}
/>
```

### Fiat Payment Options

Configure fiat payment settings:

```tsx theme={null}
payment={{
  fiat: {
    enabled: true,
    defaultCurrency: "usd"
  }
}}
```

### Crypto Payment Options

Configure crypto payment preferences:

```tsx theme={null}
payment={{
  crypto: {
    enabled: true,
    defaultChain: "polygon", // Set preferred blockchain
    defaultCurrency: "matic" // Set preferred crypto currency
  }
}}
```

<Info>
  You will be paid in the currency expected by your registered mint function, regardless of how the buyer pays.
</Info>
