Skip to content

Price

Source code in docs_src/capo_wafv2/types/price.py
class Price(TypedDict, closed=True):
    amount: "capo_wafv2.types.price_amount.PriceAmount"
    """<p>The price per request as a decimal string in the specified currency. Minimum: 0.001. Maximum: 999999999.999. Supports up to 3 decimal places.</p>"""
    currency: "capo_wafv2.types.crypto_currency.CryptoCurrency"
    """<p>The cryptocurrency for payment. Currently only <code>USDC</code> is supported.</p>"""

amount instance-attribute

amount: PriceAmount

The price per request as a decimal string in the specified currency. Minimum: 0.001. Maximum: 999999999.999. Supports up to 3 decimal places.

currency instance-attribute

currency: CryptoCurrency

The cryptocurrency for payment. Currently only USDC is supported.