Overview
Add Square to any ModuleX agent or workflow. Payment processing, commerce, and business management via the Square Connect API (connect.squareup.com/v2).
Authentication
OAuth2 Authentication
Connect using Square OAuth (recommended)Required Credentials
OAuth Configuration
- Authorization URL:
https://connect.squareup.com/oauth2/authorize - Token URL:
https://connect.squareup.com/oauth2/token - Scopes:
CUSTOMERS_WRITE,CUSTOMERS_READ,ORDERS_WRITE,ORDERS_READ,INVOICES_WRITE,INVOICES_READ,MERCHANT_PROFILE_READ
Available Actions
create_customer — Create a new customer for a business. Must provide at least one of: given_name, family_name, company_name, email_address, or phone_number.
create_customer — Create a new customer for a business. Must provide at least one of: given_name, family_name, company_name, email_address, or phone_number.
Parameters
Response
create_invoice — Create a draft invoice for an order. You must publish (send) the invoice before Square can process it.
create_invoice — Create a draft invoice for an order. You must publish (send) the invoice before Square can process it.
Parameters
Response
create_order — Create a new order that can include information about products for purchase.
create_order — Create a new order that can include information about products for purchase.
Parameters
Response
list_event_types_options — Retrieve the list of available webhook event types from Square.
list_event_types_options — Retrieve the list of available webhook event types from Square.
Response
list_location_options — Retrieve the list of locations for the authenticated Square account.
list_location_options — Retrieve the list of locations for the authenticated Square account.
Response
Limits & Quotas
- Rate limits: Square enforces per-endpoint rate limits, typically 30-100 requests per 30 seconds depending on the endpoint category.
- Sandbox: Square provides a sandbox environment for testing at
connect.squareupsandbox.com. - Error model: Non-2xx responses and timeouts are caught and returned as
success=False+errorrather than raising. Square errors include a JSONerrors[]array withcategory,code, anddetailfields.