Sandbox Sessions: Snippets API

Опубликовано: 28 Июль 2026
на канале: Square Developer
2,671
19

You can use the Snippets API to add a snippet to a Square Online site to integrate an application. A snippet is a string that can contain valid HTML, CSS, and JavaScript. The code is sent to the Snippets API in the content field of a Snippet object. Snippets can run as various site components (such as modals, pop ups, or background jobs) and offer a range of functionality.

For integration ideas, see:    • Square | INTRODUCING SNIPPETS API  

Add a Snippet to a Site: https://developer.squareup.com/docs/s...
Example Rails Snippet App: https://github.com/square/connect-api...

Square Developer Forums – https://developer.squareup.com/forums
Square Developer Community – https://squ.re/slack
Square Developer Twitter –   / squaredev  
Square Developer Blog – https://developer.squareup.com/blog