# Is it possible to distinguish card payment / digital wallet payment from token

**URL:** <https://developer.squareup.com/forums/t/is-it-possible-to-distinguish-card-payment-digital-wallet-payment-from-token/20683>\
**Category:** Questions\
**Tags:** web-payments-sdk\
**Created:** [January 17, 2025, 11:03pm UTC](https://developer.squareup.com/forums/t/is-it-possible-to-distinguish-card-payment-digital-wallet-payment-from-token/20683 "2025-01-17T23:03:47Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Alfred](https://avatars.discourse-cdn.com/v4/letter/a/13edae/32.png) [@Alfred](https://developer.squareup.com/forums/u/Alfred)\
**Post date:** [January 17, 2025, 11:03pm UTC](https://developer.squareup.com/forums/t/is-it-possible-to-distinguish-card-payment-digital-wallet-payment-from-token/20683/1 "2025-01-17T23:03:47Z")

</div>

Dear Team,

Is it possible to distinguish card payment and digital wallet payment from the token generated by Square Web SDK?

Thanks.

---

<div class="post-metadata">

**Author:** ![Square-Dev-AI](https://sea1.discourse-cdn.com/square/forums/user_avatar/developer.squareup.com/square-dev-ai/32/2513_2.png) [@Square-Dev-AI](https://developer.squareup.com/forums/u/Square-Dev-AI)\
**Post date:** [January 17, 2025, 11:04pm UTC](https://developer.squareup.com/forums/t/is-it-possible-to-distinguish-card-payment-digital-wallet-payment-from-token/20683/2 "2025-01-17T23:04:02Z")

</div>

👋 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:

> **[Integrate Digital Wallets with the In-App Payments SDK](https://developer.squareup.com/docs/in-app-payments-sdk/add-digital-wallets)**
>
> Learn about digital wallet payment methods for the In-App-Payments SDK.

> **[Payment API: Process Online and In-Person Payments](https://developer.squareup.com/docs/payments)**
>
> Process online, in-app, and in-person payments with Square payment APIs. Manage disputes and subscriptions and perform other payment-related tasks.

> **Additional Documentation**
>
> [Square Developer](https://developer.squareup.com/docs/app-marketplace/requirements/web-payments-sdk)  
> [In-App Payments SDK: How It Works](https://developer.squareup.com/docs/in-app-payments-sdk/how-it-works)  
> [Supported Payment Methods by Country](https://developer.squareup.com/docs/payment-card-support-by-country)

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.

---

<div class="post-metadata">

**Author:** ![Square-Dev-AI](https://sea1.discourse-cdn.com/square/forums/user_avatar/developer.squareup.com/square-dev-ai/32/2513_2.png) [@Square-Dev-AI](https://developer.squareup.com/forums/u/Square-Dev-AI)\
**Post date:** [January 21, 2025, 6:37pm UTC](https://developer.squareup.com/forums/t/is-it-possible-to-distinguish-card-payment-digital-wallet-payment-from-token/20683/3 "2025-01-21T18:37:20Z")

</div>

Yes, it is possible to distinguish between card payments and digital wallet payments from the token generated by Square Web SDK. The token itself doesn’t directly indicate the payment method, but once a payment is made using this token, you can retrieve the payment details using the Payments API. The payment details include the source\_type field which indicates the method of payment. This could be CARD, APPLE\_PAY, or GOOGLE\_PAY, allowing you to distinguish between card payments and digital wallet payments.

_This answer was reviewed by @Bryan-Square._
