Skip to content

Bedrock AgentCore  >  Unions  >  PaymentInput

PaymentInput

Union Type

PaymentInput module-attribute

The payment input details, which vary by payment type.

Union Member Types

PaymentInputCryptoX402 dataclass

Input for a crypto X402 payment.

Attributes

value instance-attribute

PaymentInputMpp dataclass

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.

Attributes

value instance-attribute

PaymentInputUnknown dataclass

Represents an unknown variant.

If you receive this value, you will need to update your library to receive the parsed value.

This value may not be deliberately sent.

Attributes

tag instance-attribute
tag: str