Testing Apple Pay

Once you have integrated Apple Pay into your website or app, the next stage is to test it!

Firstly, you need to set up your sandbox testing account in Apple. View the Apple Developer help instructions here.

Once you have set up your sandbox account you can simulate different responses from our API to test Apple Pay. (Use the test cards that are listed in the Apple sandbox guide.)

You must update the amount value in your request as detailed below:

📘

Note

To test a successful response, you can submit any other value.

AmountStatusReasonDescription
11.02declinedgeneric_declineIssuer returned a generic decline.
11.03declinedinsufficient_fundsThe account did not have sufficient funds to cover the transaction amount at the time of the transaction.
11.04declinedlost_or_stolenThe submitted card has expired or been reported lost and a new card has been issued.