Skip to main content
Square logo

Square

Manage Square: payments, refunds, orders, customers, catalog, invoices. Exposes 51 actions covering the full API surface the agent needs - read and write.

What it can do

MethodWhat it does
square_customers_listList all customers - GET /customers.
square_customer_getGet one customer by ID - GET /customers/{customer_id}.
square_customer_createCreate a customer - POST /customers.
square_customer_updateUpdate a customer - PUT /customers/{customer_id}.
square_customer_deleteDelete a customer - DELETE /customers/{customer_id}.
square_customers_searchSearch customers by email, phone, name, created_at, updated_at - POST /customers/search.
square_payments_listList payments - GET /payments.
square_payment_getGet one payment - GET /payments/{payment_id}.
square_payment_createCreate a payment - POST /payments.
square_payment_refundRefund a payment (full or partial) - POST /payments/{payment_id}/refunds.
square_payment_completeComplete a delayed payment - POST /payments/{payment_id}/complete.
square_orders_listList orders for a location - GET /orders.
square_order_getGet one order - GET /orders/{order_id}.
square_order_createCreate an order - POST /orders.
square_order_updateUpdate an order - PUT /orders/{order_id}.
square_order_request_paymentRequest a payment link for an order - POST /orders/{order_id}/payment_link.
square_catalog_listList all catalog objects (items, modifiers, taxes, etc.) - GET /catalog/list.
square_catalog_getGet one catalog object (item, modifier, tax, etc.) - GET /catalog/object/{object_id}.
square_catalog_searchSearch catalog objects by text, category, etc.
square_item_createCreate a catalog item - POST /catalog/object.
square_item_updateUpdate catalog object - PUT /catalog/object.
square_invoices_listList invoices for a location - GET /invoices.
square_invoice_getGet one invoice - GET /invoices/{invoice_id}.
square_invoice_createCreate an invoice - POST /invoices.
square_invoice_updateUpdate an invoice - PUT /invoices/{invoice_id}.
square_invoice_publishPublish/send an invoice - POST /invoices/{invoice_id}/publish.
square_invoice_cancelCancel an invoice - POST /invoices/{invoice_id}/cancel.
square_locations_listList all merchant locations - GET /locations.
square_location_getGet one location - GET /locations/{location_id}.
square_location_createCreate a location - POST /locations.
square_location_updateUpdate a location - PUT /locations/{location_id}.
square_subscriptions_listList subscriptions - GET /subscriptions.
square_subscription_getGet one subscription - GET /subscriptions/{subscription_id}.
square_subscription_createCreate a subscription - POST /subscriptions.
square_subscription_updateUpdate a subscription - PUT /subscriptions/{subscription_id}.
square_subscription_resumeResume a paused subscription - POST /subscriptions/{subscription_id}/resume.
square_subscription_pausePause a subscription - POST /subscriptions/{subscription_id}/pause.
square_subscription_cancelCancel a subscription - POST /subscriptions/{subscription_id}/cancel.
square_loyalty_programs_listList loyalty programs - GET /loyalty/programs.
square_loyalty_account_getGet one loyalty account - GET /loyalty/accounts/{account_id}.
square_loyalty_accounts_searchSearch loyalty accounts - POST /loyalty/accounts/search.
square_loyalty_account_createCreate a loyalty account - POST /loyalty/accounts.
square_loyalty_points_adjustAdjust loyalty points - POST /loyalty/accounts/{account_id}/adjust.
square_loyalty_rewards_listList loyalty rewards for an account - GET /loyalty/accounts/{account_id}/rewards.
square_loyalty_reward_redeemRedeem a loyalty reward - POST /loyalty/rewards/{reward_id}/redeem.
square_refunds_listList refunds - GET /refunds.
square_refund_getGet one refund - GET /refunds/{refund_id}.
square_refunds_for_paymentList all refunds for a payment - GET /refunds?payment_id={payment_id}.
square_disputes_listList disputes (chargebacks, disputes) - GET /disputes.
square_dispute_getGet one dispute - GET /disputes/{dispute_id}.
square_dispute_add_evidenceAdd evidence to a dispute - POST /disputes/{dispute_id}/evidence.

How to get credentials

This connector uses OAuth 2.0. In FlyMyAI, open the tool and click Connect - you'll be redirected to Square to authorize, then back to FlyMyAI. There is no API key to paste.

The OAuth app must be registered by FlyMyAI for this provider. If you see "connection not configured", the provider's client credentials are still being set up - check back shortly.

Fields to fill in FlyMyAI

FlyMyAI fieldWhere it comes from
(none)Connect via OAuth - nothing to paste.

Troubleshooting

  • 401 Unauthorized / 403 Forbidden - the OAuth connection expired or was revoked - reconnect.
  • 429 Too Many Requests - you hit the provider rate limit; retry after a short backoff.
  • Unexpected 4xx on writes - double-check required fields; the agent confirms before write actions.
We love our partners - FlyMy.AI builds with the best. Thanks, Square!