Can we add a Sandbox Application Device Code to a Terminal Device (Square Terminal Credit Card Machine | Square Shop)? I tried creating a code, and then adding it to the Device Code section on the Sign-In page. But that failed. Is this possible? Can we use our sandbox credentials to test with an actual physical device?
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:
https://developer.squareup.com/docs/get-started/create-an-account
Additional Documentation
https://developer.squareup.com/docs/devtools/sandbox/testing
https://developer.squareup.com/docs/orders-api/quick-start/step-1
https://developer.squareup.com/docs/get-started/create-account-and-application
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.
No, you cannot use a Sandbox Application Device Code with a physical Square Terminal. The Square Sandbox is a testing environment that doesn’t interact with live bank accounts or real payment cards, and it doesn’t support physical Square hardware. For testing purposes, the Terminal API in the Sandbox supports a collection of special device_id values that you can use to simulate Terminal actions without connecting to a physical Square Terminal.
This answer was reviewed by @Bryan-Square.