Skip to content

Bedrock Agentcore  >  Structures  >  StripePrivyTokenResponseOutput

StripePrivyTokenResponseOutput

Structure Class

StripePrivyTokenResponseOutput dataclass

Stripe Privy token response containing appId, basicAuthToken, and optionally authorizationSignature.

Attributes

app_id instance-attribute
app_id: str

The Privy app ID for the privy-app-id header.

authorization_signature class-attribute instance-attribute
authorization_signature: str | None = field(repr=False, default=None)

Base64-encoded ECDSA P-256 authorization signature (only present when includeAuthorizationSignature is true).

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

Base64-encoded Basic Auth token (appId:appSecret) for the Authorization header.

request_expiry class-attribute instance-attribute
request_expiry: int | None = None

Unix timestamp in milliseconds when the authorization signature expires.