PaymentInput¶
Union Type¶
PaymentInput
module-attribute
¶
PaymentInput = Union[PaymentInputCryptoX402 | PaymentInputMpp | PaymentInputUnknown]
The payment input details, which vary by payment type.
Union Member Types¶
PaymentInputMpp
dataclass
¶
Bases: _SerdeShape
Contains the payment challenge from a 402 Payment Required response.
Forward the raw WWW-Authenticate: Payment header value verbatim. In
response, you receive a payment credential that satisfies the challenge.
Provide exactly one challenge per request.