Square
Aynı zamanda bir ajan aracıSquare Connect API v2: take and refund payments, manage orders, customers, catalog, inventory, invoices, subscriptions, checkout/payment links, locations, team and labor, loyalty, gift cards, bookings, cards, bank accounts, disputes, terminal/devices, cash drawers, vendors, sites/snippets, merchants, and webhook subscriptions. Bearer access-token auth with a required Square-Version date header; production and sandbox hosts are both modelled. Change notifications use polling (Search Orders / List Payments cursor); native webhooks are HMAC-SHA256 signed and documented for reference.
149 eylemler · 29 tetikleyiciler
Square entegrasyonu — 149 aksiyon ve 29 tetikleyici ile Square'ı otomasyonlarına bağla; her aksiyon aynı zamanda bir AI agent aracı. Örnek: Retrieve Merchant, List Merchants, List Locations, Create Location, Retrieve Location. Boş bir tuvalde uğraşmadan — bağla ve workflow'larında kullan.
Aşağıdaki her eylem, bir AI ajanının da çağırabileceği bir araçtır — aynı pack hem iş akışlarınızı hem ajanlarınızı çalıştırır.
Tetikleyiciler 29
Square üzerinde bir iş akışını başlatabilen olaylar.
Payment Created
Fires on the Square `payment.created` event notification.
Payment Updated
Fires on the Square `payment.updated` event notification.
Refund Created
Fires on the Square `refund.created` event notification.
Refund Updated
Fires on the Square `refund.updated` event notification.
Payout Paid
Fires on the Square `payout.paid` event notification.
Payout Failed
Fires on the Square `payout.failed` event notification.
Payout Sent
Fires on the Square `payout.sent` event notification.
Invoice Created
Fires on the Square `invoice.created` event notification.
Invoice Published
Fires on the Square `invoice.published` event notification.
Invoice Payment Made
Fires on the Square `invoice.payment_made` event notification.
Invoice Scheduled Charge Failed
Fires on the Square `invoice.scheduled_charge_failed` event notification.
Invoice Canceled
Fires on the Square `invoice.canceled` event notification.
Invoice Refunded
Fires on the Square `invoice.refunded` event notification.
Order Created
Fires on the Square `order.created` event notification.
Order Updated
Fires on the Square `order.updated` event notification.
Order Fulfillment Updated
Fires on the Square `order.fulfillment.updated` event notification.
Subscription Created
Fires on the Square `subscription.created` event notification.
Subscription Updated
Fires on the Square `subscription.updated` event notification.
Customer Created
Fires on the Square `customer.created` event notification.
Customer Updated
Fires on the Square `customer.updated` event notification.
Booking Created
Fires on the Square `booking.created` event notification.
Booking Updated
Fires on the Square `booking.updated` event notification.
Dispute Created
Fires on the Square `dispute.created` event notification.
Dispute State Changed
Fires on the Square `dispute.state.changed` event notification.
Dispute Evidence Added
Fires on the Square `dispute.evidence.added` event notification.
Inventory Count Updated
Fires on the Square `inventory.count.updated` event notification.
OAuth Authorization Revoked
Fires on the Square `oauth.authorization.revoked` event notification.
New Square payments
Polls GET /v2/payments and pages via the opaque cursor. Dedupe by payment id; advance by created_at.
New / updated Square orders
Polls POST /v2/orders/search with a date_time_filter on updated_at (sort ASC) and pages via the opaque cursor. Dedupe by order id; advance by updated_at.
Eylemler 149
Zervanor'un Square üzerinde yapabilecekleri.
Retrieve Merchant
Retrieve the authenticated merchant (identity / connectivity probe). GET /v2/merchants/{merchant_id} — use 'me' to resolve the token's own merchant.
List Merchants
List the merchants associated with the access token. GET /v2/merchants.
List Locations
List all locations for the merchant (also the identity / connectivity probe). GET /v2/locations.
Create Location
Create a location. POST /v2/locations.
Retrieve Location
Retrieve a location by id (use 'main' for the default location). GET /v2/locations/{location_id}.
Update Location
Update a location. PUT /v2/locations/{location_id}.
Create Payment
Take a payment using a payment source (card nonce, card-on-file, gift card). POST /v2/payments.
List Payments
List payments taken by the account. GET /v2/payments. Cursor pagination.
Get Payment
Retrieve a payment by id. GET /v2/payments/{payment_id}.
Update Payment
Update a payment (e.g. adjust tip/amount before completion). PUT /v2/payments/{payment_id}.
Cancel Payment
Cancel (void) an approved but uncompleted payment. POST /v2/payments/{payment_id}/cancel.
Complete Payment
Complete (capture) a previously authorized payment. POST /v2/payments/{payment_id}/complete.
Cancel Payment By Idempotency Key
Cancel a payment identified by its idempotency key. POST /v2/payments/cancel.
Refund Payment
Refund a payment, in full or part. POST /v2/refunds.
List Payment Refunds
List refunds for the account. GET /v2/refunds. Cursor pagination.
Get Payment Refund
Retrieve a refund by id. GET /v2/refunds/{refund_id}.
Create Order
Create an order with line items, taxes, and discounts. POST /v2/orders.
Batch Retrieve Orders
Retrieve up to 100 orders by id. POST /v2/orders/batch-retrieve.
Get Order
Retrieve one order by id. GET /v2/orders/{order_id}.
Update Order
Update an open order (add/remove line items, apply discounts). PUT /v2/orders/{order_id}.
Search Orders
Search orders across locations with filters and sort. POST /v2/orders/search. Cursor pagination.
Pay Order
Pay for an order using existing payment ids. POST /v2/orders/{order_id}/pay.
Clone Order
Create a new draft order that is a copy of an existing order. POST /v2/orders/clone.
Create Customer
Create a customer profile. POST /v2/customers.
List Customers
List customer profiles. GET /v2/customers. Cursor pagination.
Search Customers
Search customers by filters (email, phone, reference id, created/updated). POST /v2/customers/search.
Get Customer
Retrieve a customer by id. GET /v2/customers/{customer_id}.
Update Customer
Update a customer profile. PUT /v2/customers/{customer_id}.
Delete Customer
Delete a customer profile. DELETE /v2/customers/{customer_id}.
Create Customer Card
Store a card on file for a customer (deprecated Card endpoint; prefer create_card). POST /v2/customers/{customer_id}/cards.
Delete Customer Card
Remove a card on file from a customer. DELETE /v2/customers/{customer_id}/cards/{card_id}.
List Customer Groups
List customer groups. GET /v2/customers/groups.
Create Customer Group
Create a customer group. POST /v2/customers/groups.
Get Customer Group
Retrieve a customer group by id. GET /v2/customers/groups/{group_id}.
Update Customer Group
Update a customer group. PUT /v2/customers/groups/{group_id}.
Delete Customer Group
Delete a customer group. DELETE /v2/customers/groups/{group_id}.
Add Customer To Group
Add a customer to a group. PUT /v2/customers/{customer_id}/groups/{group_id}.
Remove Customer From Group
Remove a customer from a group. DELETE /v2/customers/{customer_id}/groups/{group_id}.
List Customer Segments
List customer segments. GET /v2/customers/segments.
Get Customer Segment
Retrieve a customer segment by id. GET /v2/customers/segments/{segment_id}.
List Customer Custom Attribute Definitions
List custom attribute definitions for customers. GET /v2/customers/custom-attribute-definitions.
Upsert Customer Custom Attribute
Set a custom attribute value on a customer. POST /v2/customers/{customer_id}/custom-attributes/{key}.
List Catalog
List catalog objects of given types. GET /v2/catalog/list. Cursor pagination.
Upsert Catalog Object
Create or update a single catalog object. POST /v2/catalog/object.
Get Catalog Object
Retrieve a catalog object (and optionally related objects) by id. GET /v2/catalog/object/{object_id}.
Delete Catalog Object
Delete a catalog object and its children. DELETE /v2/catalog/object/{object_id}.
Batch Upsert Catalog Objects
Create or update up to 10,000 catalog objects in batches. POST /v2/catalog/batch-upsert.
Batch Retrieve Catalog Objects
Retrieve a set of catalog objects by id. POST /v2/catalog/batch-retrieve.
Batch Delete Catalog Objects
Delete a set of catalog objects by id. POST /v2/catalog/batch-delete.
Search Catalog Objects
Search catalog objects with filters. POST /v2/catalog/search. Cursor pagination.
Search Catalog Items
Search catalog items with a simplified item-focused query. POST /v2/catalog/search-catalog-items.
Update Item Modifier Lists
Enable/disable modifier lists on catalog items. POST /v2/catalog/update-item-modifier-lists.
Update Item Taxes
Enable/disable taxes on catalog items. POST /v2/catalog/update-item-taxes.
Catalog Info
Retrieve catalog limits and standard object attributes. GET /v2/catalog/info.
Create Catalog Image
Upload an image and attach it to a catalog object. POST /v2/catalog/images (multipart/form-data).
Batch Retrieve Inventory Counts
Retrieve current inventory counts for catalog objects at locations. POST /v2/inventory/counts/batch-retrieve.
Get Inventory Count
Retrieve the inventory count for a catalog object at locations. GET /v2/inventory/{catalog_object_id}.
Batch Change Inventory
Apply adjustments and physical counts to inventory. POST /v2/inventory/changes/batch-create.
Batch Retrieve Inventory Changes
Retrieve historical inventory changes. POST /v2/inventory/changes/batch-retrieve.
Create Invoice
Create a draft invoice from an order. POST /v2/invoices.
Search Invoices
Search invoices for locations. POST /v2/invoices/search. Cursor pagination.
Get Invoice
Retrieve an invoice by id. GET /v2/invoices/{invoice_id}.
Update Invoice
Update a draft invoice. PUT /v2/invoices/{invoice_id}.
Delete Invoice
Delete a draft invoice. DELETE /v2/invoices/{invoice_id}.
Publish Invoice
Publish a draft invoice (sends it and starts collecting payment). POST /v2/invoices/{invoice_id}/publish.
Cancel Invoice
Cancel a published invoice. POST /v2/invoices/{invoice_id}/cancel.
Create Subscription
Start a subscription for a customer against a subscription plan. POST /v2/subscriptions.
Search Subscriptions
Search subscriptions by location/customer. POST /v2/subscriptions/search.
Get Subscription
Retrieve a subscription by id. GET /v2/subscriptions/{subscription_id}.
Update Subscription
Update a subscription. PUT /v2/subscriptions/{subscription_id}.
Cancel Subscription
Schedule cancellation of a subscription at the end of the billing period. POST /v2/subscriptions/{subscription_id}/cancel.
Pause Subscription
Schedule a pause of a subscription. POST /v2/subscriptions/{subscription_id}/pause.
Resume Subscription
Schedule resumption of a paused subscription. POST /v2/subscriptions/{subscription_id}/resume.
Swap Subscription Plan
Swap the plan variation on a subscription. POST /v2/subscriptions/{subscription_id}/swap-plan.
List Subscription Events
List events for a subscription. GET /v2/subscriptions/{subscription_id}/events.
Create Payment Link
Create a hosted checkout / payment link. POST /v2/online-checkout/payment-links.
List Payment Links
List payment links. GET /v2/online-checkout/payment-links.
Get Payment Link
Retrieve a payment link by id. GET /v2/online-checkout/payment-links/{id}.
Update Payment Link
Update a payment link. PUT /v2/online-checkout/payment-links/{id}.
Delete Payment Link
Delete a payment link. DELETE /v2/online-checkout/payment-links/{id}.
Create Card
Save a card on file (Cards API). POST /v2/cards.
List Cards
List saved cards on file. GET /v2/cards. Cursor pagination.
Get Card
Retrieve a saved card by id. GET /v2/cards/{card_id}.
Disable Card
Disable a saved card so it can no longer be charged. POST /v2/cards/{card_id}/disable.
List Bank Accounts
List linked bank accounts. GET /v2/bank-accounts.
Get Bank Account
Retrieve a bank account by id. GET /v2/bank-accounts/{bank_account_id}.
List Disputes
List payment disputes (chargebacks). GET /v2/disputes.
Get Dispute
Retrieve a dispute by id. GET /v2/disputes/{dispute_id}.
Accept Dispute
Accept a dispute (concede the disputed amount). POST /v2/disputes/{dispute_id}/accept.
Submit Dispute Evidence
Submit accumulated evidence to challenge a dispute. POST /v2/disputes/{dispute_id}/submit-evidence.
Search Team Members
Search team members by location/status. POST /v2/team-members/search.
Create Team Member
Create a team member. POST /v2/team-members.
Get Team Member
Retrieve a team member by id. GET /v2/team-members/{team_member_id}.
Update Team Member
Update a team member. PUT /v2/team-members/{team_member_id}.
Get Wage Setting
Retrieve a team member's wage setting. GET /v2/team-members/{team_member_id}/wage-setting.
Update Wage Setting
Create or update a team member's wage setting. PUT /v2/team-members/{team_member_id}/wage-setting.
Create Shift
Record a worked shift for a team member (Labor API). POST /v2/labor/shifts.
Search Shifts
Search worked shifts. POST /v2/labor/shifts/search.
Get Shift
Retrieve a shift by id. GET /v2/labor/shifts/{id}.
Update Shift
Update a shift (edit times, breaks, wage). PUT /v2/labor/shifts/{id}.
Delete Shift
Delete a shift. DELETE /v2/labor/shifts/{id}.
List Break Types
List break types configured for locations. GET /v2/labor/break-types.
List Team Member Wages
List team member wages. GET /v2/labor/team-member-wages.
List Loyalty Programs
List loyalty programs (use 'main' to retrieve the merchant's program). GET /v2/loyalty/programs.
Get Loyalty Program
Retrieve a loyalty program by id (or 'main'). GET /v2/loyalty/programs/{program_id}.
Create Loyalty Account
Create a loyalty account for a buyer. POST /v2/loyalty/accounts.
Search Loyalty Accounts
Search loyalty accounts (by phone/customer). POST /v2/loyalty/accounts/search.
Get Loyalty Account
Retrieve a loyalty account by id. GET /v2/loyalty/accounts/{account_id}.
Accumulate Loyalty Points
Add points to a loyalty account for an order. POST /v2/loyalty/accounts/{account_id}/accumulate.
Create Loyalty Reward
Create a loyalty reward (redeem points for a discount). POST /v2/loyalty/rewards.
Redeem Loyalty Reward
Redeem a loyalty reward, applying it to the order. POST /v2/loyalty/rewards/{reward_id}/redeem.
List Loyalty Promotions
List promotions for a loyalty program. GET /v2/loyalty/programs/{program_id}/promotions.
Create Gift Card
Create a digital gift card. POST /v2/gift-cards.
List Gift Cards
List gift cards. GET /v2/gift-cards.
Get Gift Card
Retrieve a gift card by id. GET /v2/gift-cards/{id}.
Create Gift Card Activity
Activate, load, redeem, or adjust a gift card balance. POST /v2/gift-cards/activities.
List Gift Card Activities
List gift card activities. GET /v2/gift-cards/activities.
Create Booking
Create an appointment booking. POST /v2/bookings.
Search Availability
Search available booking slots. POST /v2/bookings/availability/search.
List Bookings
List bookings. GET /v2/bookings.
Get Booking
Retrieve a booking by id. GET /v2/bookings/{booking_id}.
Update Booking
Update a booking. PUT /v2/bookings/{booking_id}.
Cancel Booking
Cancel a booking. POST /v2/bookings/{booking_id}/cancel.
List Team Member Booking Profiles
List bookable team member profiles. GET /v2/bookings/team-member-booking-profiles.
Create Terminal Checkout
Send a checkout to a Square Terminal device. POST /v2/terminals/checkouts.
Search Terminal Checkouts
Search terminal checkouts. POST /v2/terminals/checkouts/search.
Get Terminal Checkout
Retrieve a terminal checkout by id. GET /v2/terminals/checkouts/{checkout_id}.
Cancel Terminal Checkout
Cancel a terminal checkout. POST /v2/terminals/checkouts/{checkout_id}/cancel.
Create Terminal Refund
Send a refund request to a Square Terminal device. POST /v2/terminals/refunds.
Create Device Code
Create a device code to pair a Square Terminal. POST /v2/devices/codes.
List Devices
List paired devices. GET /v2/devices.
Get Device
Retrieve a device by id. GET /v2/devices/{device_id}.
List Cash Drawer Shifts
List cash drawer shifts for a location. GET /v2/cash-drawers/shifts.
Get Cash Drawer Shift
Retrieve a cash drawer shift by id. GET /v2/cash-drawers/shifts/{shift_id}.
Search Vendors
Search vendors. POST /v2/vendors/search.
Create Vendor
Create a vendor. POST /v2/vendors/create.
Get Vendor
Retrieve a vendor by id. GET /v2/vendors/{vendor_id}.
Update Vendor
Update a vendor. PUT /v2/vendors/{vendor_id}.
List Sites
List Square Online sites. GET /v2/sites.
Get Snippet
Retrieve the snippet on a site. GET /v2/sites/{site_id}/snippet.
Upsert Snippet
Add or update the snippet on a site. POST /v2/sites/{site_id}/snippet.
Delete Snippet
Remove the snippet from a site. DELETE /v2/sites/{site_id}/snippet.
List Webhook Event Types
List event types you can subscribe a webhook to. GET /v2/webhooks/event-types.
List Webhook Subscriptions
List webhook subscriptions. GET /v2/webhooks/subscriptions.
Create Webhook Subscription
Create a webhook subscription for event types. POST /v2/webhooks/subscriptions.
Get Webhook Subscription
Retrieve a webhook subscription by id. GET /v2/webhooks/subscriptions/{subscription_id}.
Update Webhook Subscription
Update a webhook subscription. PUT /v2/webhooks/subscriptions/{subscription_id}.
Delete Webhook Subscription
Delete a webhook subscription. DELETE /v2/webhooks/subscriptions/{subscription_id}.
Test Webhook Subscription
Send a test event to a webhook subscription's notification URL. POST /v2/webhooks/subscriptions/{subscription_id}/test.
Aramanızla eşleşen bir şey yok.
Square kullanan Çözüm Şablonları
Square ile kendi otomasyonunu görsel tasarımcıda kur.
Sıkça sorulan sorular
Square ile neler otomatikleştirebilirim?
149 aksiyon var — örneğin: Retrieve Merchant, List Merchants, List Locations, Create Location, Retrieve Location ve daha fazlası.
Hangi Square olayları bir workflow başlatabilir?
29 tetikleyici — örneğin: Payment Created, Payment Updated, Refund Created, Refund Updated.
Square bir AI agent aracı olarak kullanılabilir mi?
Evet. Square'ın her aksiyonu otomatik olarak bir AI agent aracına dönüşür — aynı pack hem workflow'larını hem agent'larını besler.
Square entegrasyonu nasıl modellenir?
Square sürümlü bir connector pack olarak modellenir; muhakeme gerektiren adımlar workflow'larla aynı runtime'da barınan first-party agent'lara düşer.