What is latest Apple Pay APIVersion?

Hello All,

I apologize in advance if this is a dumb question.

I am helping some Front End Devs out in our coding of Apple Pay integration for our ecommerce site.

Currently we have in our js code the following:

                created: function() {
                    this.ApplePay = {
                        APIVersion: 3
                    },
                    this.checkApplePayAvailability()

However: We have learned that we must have at least APIVersion 4 to allow totals to be 0

RE: https://developer.apple.com/documentation/apple_pay_on_the_web/applepaypaymentrequest/1916119-total

Note In versions of Apple Pay JS prior to version 4, the amount of the total must be greater than zero. Check for version availability using supportsVersion before setting a zero amount.

So, I thought of just hard coding to use APIVersion 4.

YET: I am wondering what the latest APIVersion is.

https://developer.apple.com/documentation/apple_pay_on_the_web/apple_pay_on_the_web_version_history

Thank you so much, in advance, for your feedback.

Regards,

🌻Anne

What is latest Apple Pay APIVersion?
 
 
Q