---
title: Apple Pay Status Codes
framework: applepayontheweb
role: collectionGroup
role_heading: API Collection
path: applepayontheweb/apple-pay-status-codes
---

# Apple Pay Status Codes

Codes used to report the status of an Apple Pay session after a callback.

## Overview

Overview Use an appropriate status code to report your status when you complete a callback. note: Use a status code that is supported for the completion method you are calling.  |   |   |   |  Apple Pay JS API supports customized errors in Apple Pay API version 3 and later. Use only STATUS_SUCCESS and STATUS_FAILURE for code using version 3. See ApplePayError for information on custom errors.

## Topics

### Status Code Constants

- [STATUS_FAILURE](applepayontheweb/applepaysession/status_failure.md)
- [STATUS_SUCCESS](applepayontheweb/applepaysession/status_success.md)
- [STATUS_INVALID_BILLING_POSTAL_ADDRESS](applepayontheweb/applepaysession/status_invalid_billing_postal_address.md)
- [STATUS_INVALID_SHIPPING_POSTAL_ADDRESS](applepayontheweb/applepaysession/status_invalid_shipping_postal_address.md)
- [STATUS_INVALID_SHIPPING_CONTACT](applepayontheweb/applepaysession/status_invalid_shipping_contact.md)
- [STATUS_PIN_INCORRECT](applepayontheweb/applepaysession/status_pin_incorrect.md)
- [STATUS_PIN_LOCKOUT](applepayontheweb/applepaysession/status_pin_lockout.md)
- [STATUS_PIN_REQUIRED](applepayontheweb/applepaysession/status_pin_required.md)

## See Also

### Related Documentation

- [supportsVersion](applepayontheweb/applepaysession/supportsversion.md)

### Status and errors

- [ApplePayError](applepayontheweb/applepayerror.md)
- [ApplePayErrorCode](applepayontheweb/applepayerrorcode.md)
- [ApplePayErrorContactField](applepayontheweb/applepayerrorcontactfield.md)
