Square
Overview
SLUG: SQUARE
Description
Square provides payment processing, POS systems, invoicing, and e-commerce tools, enabling sellers to accept card payments and manage their business
Authentication Details
OAuth2
API Key
Connecting to Square
Create an auth config
Use the dashboard to create an auth config for the Square toolkit. This allows you to connect multiple Square accounts to Composio for agents to use.
Create and Get auth config ID
Click “Create Square Auth Config”. After creation, copy the displayed ID starting with ac_. This is your auth config ID. This is not a sensitive ID — you can save it in environment variables or a database.
This ID will be used to create connections to the toolkit for a given user.
Connect Your Account
Using OAuth2
Using API Key
Tools
Executing tools
To prototype you can execute some tools to see the responses and working on the Square toolkit’s playground
OpenAI (Python)
Anthropic (TypeScript)
Google (Python)
Vercel (TypeScript)
Tool List
SQUARE_ACCEPT_DISPUTE
Tool Name: Accept Dispute
Description
Action Parameters
Action Response
SQUARE_CANCEL_INVOICE
Tool Name: Cancel Invoice
Description
Action Parameters
Action Response
SQUARE_CANCEL_PAYMENT
Tool Name: Cancel Payment
Description
Action Parameters
Action Response
SQUARE_CREATE_CARD
Tool Name: Create Card
Description
Action Parameters
Action Response
SQUARE_CREATE_DISPUTE_EVIDENCE_FILE
Tool Name: Create Dispute Evidence File
Description
Action Parameters
Action Response
SQUARE_CREATE_DISPUTE_EVIDENCE_TEXT
Tool Name: Create Dispute Evidence Text
Description
Action Parameters
Action Response
SQUARE_CREATE_INVOICE_ATTACHMENT
Tool Name: Create Invoice Attachment
Description
Action Parameters
Action Response
SQUARE_DELETE_DISPUTE_EVIDENCE
Tool Name: Delete Dispute Evidence
Description
Action Parameters
Action Response
SQUARE_DELETE_INVOICE
Tool Name: Delete Invoice
Description
Action Parameters
Action Response
SQUARE_DELETE_INVOICE_ATTACHMENT
Tool Name: Delete Invoice Attachment
Description
Action Parameters
Action Response
SQUARE_DELETE_WEBHOOK_SUBSCRIPTION
Tool Name: Delete Webhook Subscription
Description
Action Parameters
Action Response
SQUARE_GET_DISPUTE_EVIDENCE
Tool Name: Get Dispute Evidence
Description
Action Parameters
Action Response
SQUARE_GET_INVOICE
Tool Name: Get Invoice
Description
Action Parameters
Action Response
SQUARE_LIST_DISPUTE_EVIDENCE
Tool Name: List Dispute Evidence
Description
Action Parameters
Action Response
SQUARE_LIST_INVOICES
Tool Name: List Invoices
Description
Action Parameters
Action Response
SQUARE_LIST_WEBHOOK_EVENT_TYPES
Tool Name: List Webhook Event Types
Description
Action Parameters
Action Response
SQUARE_LIST_WEBHOOK_SUBSCRIPTIONS
Tool Name: List Webhook Subscriptions
Description
Action Parameters
Action Response
SQUARE_RETRIEVE_DISPUTE
Tool Name: Retrieve Dispute
Description
Action Parameters
Action Response
SQUARE_RETRIEVE_ORDER
Tool Name: Retrieve Order
Description
Action Parameters
Action Response
SQUARE_RETRIEVE_PAYMENT_LINK
Tool Name: Retrieve Payment Link
Description
Action Parameters
Action Response
SQUARE_RETRIEVE_WEBHOOK_SUBSCRIPTION
Tool Name: Retrieve Webhook Subscription
Description
Action Parameters
Action Response
SQUARE_SUBMIT_DISPUTE_EVIDENCE
Tool Name: Submit Dispute Evidence
Description
Action Parameters
Action Response
SQUARE_TEST_WEBHOOK_SUBSCRIPTION
Tool Name: Test Webhook Subscription
Description
Action Parameters
Action Response
SQUARE_UPDATE_ORDER
Tool Name: Update Order
Description
Action Parameters
Action Response
SQUARE_UPDATE_WEBHOOK_SUBSCRIPTION
Tool Name: Update Webhook Subscription
Description
Action Parameters
Action Response
SQUARE_UPDATE_WEBHOOK_SUBSCRIPTION_SIGNATURE_KEY
Tool Name: Update Webhook Subscription Signature Key
Description
Action Parameters
Action Response