Skip to content

Bedrock AgentCore  >  Structures  >  MppPaymentOutput

MppPaymentOutput

Structure Class

MppPaymentOutput dataclass

Contains the payment credential, ready to retry the request.

Attributes

payment_credential class-attribute instance-attribute
payment_credential: str = field(repr=False)

Ready-to-send value for the Authorization header, in the form "Payment ". Attach this header and retry the original request. To inspect the full credential, base64url-decode the token.

selected_payment_id instance-attribute
selected_payment_id: str

The id of the challenge that was paid, echoed from the input challenge so you can correlate the result without decoding the credential.

version instance-attribute
version: str

The MPP protocol version, for example "1" or "2".