Check out the new example in the sandbox section of Square’s developer docs

We are rolling out a new tool to help you explore our APIs, right from the documentation.

Tristan Sokol
Oct 18, 2017 · Unlisted

Heads up, we’ve moved! If you’d like to continue keeping up with the latest technical content from Square please visit us at our new home https://developer.squareup.com/blog

From one point of view, applications built on top of Square’s APIs are just a series of API requests and code to display, store, or manipulate the data that gets returned. Wouldn’t it be interesting to see app in its simplest form — as an interactive webpage that you could use to try out your API requests? Here it is :)

Like our APIs, to use the new tool you will need to create a Square Account and to create an application in the Square Developer Portal. Once that’s done, you can copy your sandbox access token and paste it in the appropriate place in the tool. From there you can select from a dropdown which API call you’d like to make and see an example JSON body (if the request requires one). This makes it super simple to see what goes on with the API without having to touch the code yourself.

Try it out in the link below ⬇️

If you have any questions, feedback, or notice something not right, feel free to leave a comment on this post, or reach out to us on Twitter.

Square Corner Blog

Buying and selling sound like simple things - and they should be. Somewhere along the way, they got complicated. At Square, we're working hard to make commerce easy for everyone.

Unlisted

Tristan Sokol

Written by

Software Lead at NorthPoint Development. When I’m not helping automate a real estate company, I’m growing succulents in my back yard. https://tristansokol.com/

Square Corner Blog

Buying and selling sound like simple things - and they should be. Somewhere along the way, they got complicated. At Square, we're working hard to make commerce easy for everyone.

Welcome to a place where words matter. On Medium, smart voices and original ideas take center stage - with no ads in sight. Watch
Follow all the topics you care about, and we’ll deliver the best stories for you to your homepage and inbox. Explore
Get unlimited access to the best stories on Medium — and support writers while you’re at it. Just $5/month. Upgrade