PaymentNetwork
¶
Source code in docs_src/capo_wafv2/types/payment_network.py
chain
instance-attribute
¶
chain: BlockchainChain
The blockchain network for receiving payments. Production networks: BASE (Base mainnet), SOLANA (Solana mainnet). Test networks: BASE_SEPOLIA (Base Sepolia testnet), SOLANA_DEVNET (Solana Devnet).
prices
instance-attribute
¶
prices: Prices
The price configuration for this payment network. Currently supports a single price entry in USDC.
wallet_address
instance-attribute
¶
wallet_address: WalletAddress
Your wallet address on the specified blockchain where payments are sent. For EVM chains (Base, Base Sepolia), provide a valid Ethereum address (42 characters including 0x prefix). For Solana chains, provide a valid Base58-encoded public key (32-44 characters).
For EVM addresses, WAF performs EIP-55 checksum validation for typo detection when the address uses a mix of lower and upper case letters. You can bypass this validation by providing the address in all lowercase or all uppercase.