Initializers
init(enabled:defaultChain:defaultCurrency:)
Creates the crypto payment settings.init(from:)
Inherited fromDecodable.init(from:).
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Swift Structure
struct CheckoutCryptoPayment
init(enabled: Bool, defaultChain: String? = nil, defaultCurrency: String? = nil)
Decodable.init(from:).
init(from decoder: any Decoder) throws
| Property | Type | Description |
|---|---|---|
defaultChain | String? | The blockchain the checkout selects first, for example "base" or "solana". |
defaultCurrency | String? | The currency the checkout selects first, for example "usdc". |
enabled | Bool | A Boolean value that shows whether the buyer can pay with crypto. |
Was this page helpful?
