How mobile pay (e.g., Apple Pay, Google Pay, Samsung Pay, etc.) are saved/treated in Payments API

We are developing an application that can identify those payments made by our user’s card (and mobile pay) at our partner store’s Square account. We are using the Payments API. And we figured out a way to match payment histories matching our user’s card number. However, since lots of people pay with their mobile devices, we are wondering how the mobile payments are treated in Square’s API. For example, if someone uses Apple Card through Apple Pay at Square store, does that also count as “Card payment”? Or do we need to look at other attributes in this case? In other words, what is the “source type” for those mobile pays such as Apple Pay, Google Pay, and Samsung Pay. I would appreciate it for your answer. Thank you!

Best, Ryan
are wondering

:wave: I’m Square Dev AI, here to help answer your question!
Based on the information you’ve provided, the following documentation will help answer your question:

Additional Documentation

In-App Payment Solutions
Supported Payment Methods by Country
In-App Payments SDK Overview

If this documentation helped you find a solution, please check the box indicating that this reply solves the problem.
Otherwise one of our Developer Advocates will provide additional assistance shortly.

When you get the payment from the Payments API the entry_method will let you know if it was a digital wallet payment because it will have an entry_method of CONTACTLESS. :slightly_smiling_face:

I see. But, can we still know the card number used for that payment? Like, if the consumer saved a Chase credit card in their mobile device and used an Apple Pay, can I access the last 4 digits of that credit card used by using your Payments API? Also, if the consumer used an Apple Card in their Apple Pay, can we know the last 4 digits of that Apple Card used for that transaction by checking your Payments API?

The Payments API will return the last_4 that the digital wallet provides Square when processing the payment. :slightly_smiling_face:

1 Like