View a markdown version of this page

MonetizationConfig - AWS WAFV2

MonetizationConfig

The monetization configuration for a web ACL or rule group. Specifies the payment settlement options (self-managed crypto wallets in CryptoConfig, a connected account in ConnectedAccountConfigs, or both) and the currency mode for artificial intelligence (AI) bot monetization. You must provide this configuration when any rule in the web ACL or rule group uses the Monetize action.

Contents

ConnectedAccountConfigs

The connected account configurations for settling AI bot payments through a connected account with a supported third-party payment provider (Stripe), as an alternative to the self-managed wallets in CryptoConfig. You can provide CryptoConfig, ConnectedAccountConfigs, or both; however, a given blockchain network (chain) can be used by only one of them. Currently supports exactly one connected account.

Type: Array of ConnectedAccountConfig objects

Array Members: Fixed number of 1 item.

Required: No

CryptoConfig

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

Type: CryptoConfig object

Required: No

CurrencyMode

Specifies whether the configuration uses real or test currency. If not specified, defaults to REAL. Connected account configurations support production settlement only; TEST is not supported when ConnectedAccountConfigs is present.

Valid values:

  • REAL - Settle payments in USDC on production blockchain networks (Base, Solana).

  • TEST - Settle on testnet networks (Base Sepolia, Solana Devnet) with tokens that have no monetary value.

Type: String

Valid Values: REAL | TEST

Required: No

See Also

For more information about using this API in one of the language-specific AWS SDKs, see the following: