<!--
{
  "availability" : [

  ],
  "documentType" : "symbol",
  "framework" : "ApplePayontheWeb",
  "identifier" : "/documentation/ApplePayontheWeb/ApplePayPaymentAuthorizedEvent/payment",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "Apple Pay on the Web"
    ],
    "preciseIdentifier" : "instp/ApplePayPaymentAuthorizedEvent/payment"
  },
  "title" : "payment"
}
-->

# payment

The authorized payment information for this transaction.

```
readonly attribute ApplePayPayment payment;
```

## Discussion

This attribute is contained by the [`onpaymentauthorized`](/documentation/ApplePayontheWeb/ApplePaySession/onpaymentauthorized) event. Access this attribute using the event parameter in the callback function; for example, `var payinfo = event.payment;`.

[`ApplePayPayment`](/documentation/ApplePayontheWeb/ApplePayPayment)  contains `billingContact` and `shippingContact` if they were requested, and it also contains [`ApplePayPaymentToken`](/documentation/ApplePayontheWeb/ApplePayPaymentToken).

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)