Search code examples
javaandroidgoogle-apiandroid-pay

Get the transaction history from Android Pay via API?


Our application (an expenses manager) would like to extract the transaction history from Android Pay in order to make it easier for the user to enter their purchase history. Is this possible - either through an Android app on the same phone where the purchases were made or through an external API?

I've found plenty of information on how to integrate Android Pay payments from within the app, but nothing on how to access the previous transactions.


Solution

  • Unfortunately, it looks like this is not possible via any API at this moment. It is probably made for security purposes.

    The only way to view the transaction history is by:

    • Opening the Android Pay app.
    • Touching the card you used to pay.

    But there might be a workaround, though remember that you are responsible for your actions.