We are currently building a platform with Square integration. The idea is that a store can register their square account with our platform and we will manage their orders and payments via a mobile application.
However, the payments will be processed via a mobile application that customers download, not a centralized app (such as a POS system) that the stores use for each payment.
Currently, the only option I see to process orders and payments on behalf of another Square account is via the OAuth flow https://developer.squareup.com/docs/oauth-api/walkthrough
Is there a way for stores to supply long lived access for payments? Or is the only option to have background processes which refresh the the OAuth Access Token?
Please let us know if there is a standard process for handling customer downloaded apps for purchasing from stores.