Hi Square team,
We are integrating the Point of Sale API from a mobile website, opening Square POS on iPhone for in-person card payments, including Tap to Pay. We need clarification on safe retries after a canceled or abandoned app-switch request.
Scenario: our website opens Square POS with an amount, callback URL, and unique state. The seller cancels, closes the app, or returns to the browser without a callback. Before offering another payment attempt or another payment method, how can our server confirm that the original request can no longer produce a charge?
Could you confirm:
- Is there a server-side way to revoke or expire a mobile-web POS request, including an already-open request or a replay of its URL?
- Does this API support a merchant-supplied idempotency key that prevents duplicate charges if the same request is opened again?
- Is a cancellation callback an authoritative final outcome, and is there a server-side status we can verify when no payment or transaction ID was returned?
- If there is no such guarantee, what retry/recovery flow does Square recommend to avoid duplicate charges? Does the answer differ for online Tap to Pay versus reader payments that may be taken offline?
We can reconcile completed payments using Square’s APIs, but finding no matching payment yet does not establish that an abandoned request cannot complete later. We are looking for the supported way to safely allow a new attempt.
Thanks!