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.
Unfortunately, it looks like this is not possible via any API. I think it is made for security purposes.
The only way to view the transaction history is by:
But, there might be a workaround... (not sure if it works, but it should)
PLEASE DO NOT USE THE METHOD DESCRIBED BELOW. It is only for educational purposes. I am not responsible for your actions.
AccessibilityEvent(for example focus on element) using
getText()method of an