Square Connect API Examples

This repository contains code samples demonstrating the functionality of the Square Connect API and templates to simplify use of our SDKs and APIs.

In this repository

  • connect-examples/oauth - samples demonstrating OAuth functionality
  • connect-examples/v1 - DEPRECATED: samples demonstrating Connect v1 functionality
  • connect-examples/v2 - samples demonstrating Connect v2 functionality
  • templates/ - code blocks and function definitions to simplify common usage

Getting help

Complete documentation for Square APIs is available at developer.squareup.com/docs.

If you have questions about Square Connect API features or implementation, you can ask for help on Stack Overflow or in our Slack community.