APPLICATION-SPECIFIC DATA: A structure representing an AP2 payment response.
This is a custom interface for your application's logic. It uses global browser
types where possible (e.g., PaymentShippingOption).
readonly
requestId: string
The unique ID from the original PaymentRequest.
readonly
methodName: string
The payment method chosen by the user.
readonly
optional
details: Record<string, unknown>
A dictionary generated by a payment method to process a transaction.
readonly
optional
shippingAddress: ContactAddress
The shipping address provided by the user.
readonly
optional
shippingOption: PaymentShippingOption
The shipping option selected by the user.
readonly
optional
payerName: string
The payer's name.
readonly
optional
payerEmail: string
The payer's email address.
readonly
optional
payerPhone: string
The payer's phone number.