---
title: ApplePayPaymentAuthorizationResult
framework: applepayontheweb
role: symbol
role_heading: Structure
path: applepayontheweb/applepaypaymentauthorizationresult
---

# ApplePayPaymentAuthorizationResult

The result of payment authorization, including status and errors.

## Declaration

```data
dictionary ApplePayPaymentAuthorizationResult {
	required short status;
	sequence <ApplePayError> errors;
	ApplePayPaymentOrderDetails orderDetails;
};
```

## Mentioned in

Apple Pay on the Web Version 3 Release Notes

## Overview

Overview Use the Apple Pay Status Codes values of STATUS_SUCCESS to indicate when the payment authorization succeeds, or STATUS_FAILURE, along with the errors, when it fails.

## Topics

### Providing authorization results

- [status](applepayontheweb/applepaypaymentauthorizationresult/status.md)
- [errors](applepayontheweb/applepaypaymentauthorizationresult/errors.md)

### Providing order details

- [orderDetails](applepayontheweb/applepaypaymentauthorizationresult/orderdetails.md)
- [ApplePayPaymentOrderDetails](applepayontheweb/applepaypaymentorderdetails.md)

## See Also

### Handling payment authorization

- [onpaymentauthorized](applepayontheweb/applepaysession/onpaymentauthorized.md)
- [completePayment](applepayontheweb/applepaysession/completepayment.md)
- [ApplePayPaymentAuthorizedEvent](applepayontheweb/applepaypaymentauthorizedevent.md)
- [ApplePayPayment](applepayontheweb/applepaypayment.md)
