IdentityTokenInput

Version 2024-11-01

📘

Important

The Buy with Prime API is offered as a preview and might change as we receive feedback and iterate on the interfaces. We are sharing this early documentation to help you learn about the Buy with Prime API as we write and iterate on the content.

Overview

Specifies the input attributes for capturing Identity details

Arguments

ArgumentDescription
apayCheckoutSessionId (APayCheckoutSessionId)

APay Checkout Session Id

externalId (String)

DeprecatedNo longer supported

The ExternalId is a value that we recommend you use, to maintain the security posture for all Shopper related data. The expectation of the ExternalId, is to be unique per shopper checkout session at client's layer. For certain Identity Providers (like APay), ExternalId is a mandatory attribute.

The size should be greater than or equal to 1 and less than or equal to 512.

idPToken (String)

DeprecatedNo longer supported

The OAuth access token (e.g. LWA)

The size should be greater than or equal to 1 and less than or equal to 2048.

idPTokenType (IdPTokenType)

DeprecatedNo longer supported

Identity Provider Token type

identityProvider (IdentityProvider)

DeprecatedNo longer supported

Identity Provider: APAY (Amazon Pay) or LWA (Login With Amazon)

lwaAccessToken (LWAAccessToken)

LWA OAuth access token