Skip to content

MonetizationConfig

Source code in docs_src/capo_wafv2/types/monetization_config.py
class MonetizationConfig(TypedDict, closed=True):
    crypto_config: NotRequired["capo_wafv2.types.crypto_config.CryptoConfig"]
    """<p>The cryptocurrency payment configuration, including the blockchain networks and wallet addresses where you receive payments.</p>"""
    currency_mode: NotRequired["capo_wafv2.types.currency_mode.CurrencyMode"]
    """<p>Specifies whether the configuration uses real or test currency. Set to <code>REAL</code> to settle payments in USDC on production blockchain networks (Base, Solana). Set to <code>TEST</code> to settle on testnet networks (Base Sepolia, Solana Devnet) with tokens that have no monetary value. If not specified, defaults to <code>REAL</code>.</p>"""

crypto_config instance-attribute

crypto_config: NotRequired[CryptoConfig]

The cryptocurrency payment configuration, including the blockchain networks and wallet addresses where you receive payments.

currency_mode instance-attribute

currency_mode: NotRequired[CurrencyMode]

Specifies whether the configuration uses real or test currency. Set to REAL to settle payments in USDC on production blockchain networks (Base, Solana). Set to TEST to settle on testnet networks (Base Sepolia, Solana Devnet) with tokens that have no monetary value. If not specified, defaults to REAL.