Square entegrasyonu | Zervanor
← Tüm konnektörler

Square

Aynı zamanda bir ajan aracı
finance-billing

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.

webhook

Payment Created

Fires on the Square `payment.created` event notification.

webhook

Payment Updated

Fires on the Square `payment.updated` event notification.

webhook

Refund Created

Fires on the Square `refund.created` event notification.

webhook

Refund Updated

Fires on the Square `refund.updated` event notification.

webhook

Payout Paid

Fires on the Square `payout.paid` event notification.

webhook

Payout Failed

Fires on the Square `payout.failed` event notification.

webhook

Payout Sent

Fires on the Square `payout.sent` event notification.

webhook

Invoice Created

Fires on the Square `invoice.created` event notification.

webhook

Invoice Published

Fires on the Square `invoice.published` event notification.

webhook

Invoice Payment Made

Fires on the Square `invoice.payment_made` event notification.

webhook

Invoice Scheduled Charge Failed

Fires on the Square `invoice.scheduled_charge_failed` event notification.

webhook

Invoice Canceled

Fires on the Square `invoice.canceled` event notification.

webhook

Invoice Refunded

Fires on the Square `invoice.refunded` event notification.

webhook

Order Created

Fires on the Square `order.created` event notification.

webhook

Order Updated

Fires on the Square `order.updated` event notification.

webhook

Order Fulfillment Updated

Fires on the Square `order.fulfillment.updated` event notification.

webhook

Subscription Created

Fires on the Square `subscription.created` event notification.

webhook

Subscription Updated

Fires on the Square `subscription.updated` event notification.

webhook

Customer Created

Fires on the Square `customer.created` event notification.

webhook

Customer Updated

Fires on the Square `customer.updated` event notification.

webhook

Booking Created

Fires on the Square `booking.created` event notification.

webhook

Booking Updated

Fires on the Square `booking.updated` event notification.

webhook

Dispute Created

Fires on the Square `dispute.created` event notification.

webhook

Dispute State Changed

Fires on the Square `dispute.state.changed` event notification.

webhook

Dispute Evidence Added

Fires on the Square `dispute.evidence.added` event notification.

webhook

Inventory Count Updated

Fires on the Square `inventory.count.updated` event notification.

webhook

OAuth Authorization Revoked

Fires on the Square `oauth.authorization.revoked` event notification.

polling

New Square payments

Polls GET /v2/payments and pages via the opaque cursor. Dedupe by payment id; advance by created_at.

polling

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.

GET

Retrieve Merchant

Retrieve the authenticated merchant (identity / connectivity probe). GET /v2/merchants/{merchant_id} — use 'me' to resolve the token's own merchant.

GET

List Merchants

List the merchants associated with the access token. GET /v2/merchants.

GET

List Locations

List all locations for the merchant (also the identity / connectivity probe). GET /v2/locations.

POST

Create Location

Create a location. POST /v2/locations.

GET

Retrieve Location

Retrieve a location by id (use 'main' for the default location). GET /v2/locations/{location_id}.

PUT

Update Location

Update a location. PUT /v2/locations/{location_id}.

POST

Create Payment

Take a payment using a payment source (card nonce, card-on-file, gift card). POST /v2/payments.

GET

List Payments

List payments taken by the account. GET /v2/payments. Cursor pagination.

GET

Get Payment

Retrieve a payment by id. GET /v2/payments/{payment_id}.

PUT

Update Payment

Update a payment (e.g. adjust tip/amount before completion). PUT /v2/payments/{payment_id}.

POST

Cancel Payment

Cancel (void) an approved but uncompleted payment. POST /v2/payments/{payment_id}/cancel.

POST

Complete Payment

Complete (capture) a previously authorized payment. POST /v2/payments/{payment_id}/complete.

POST

Cancel Payment By Idempotency Key

Cancel a payment identified by its idempotency key. POST /v2/payments/cancel.

POST

Refund Payment

Refund a payment, in full or part. POST /v2/refunds.

GET

List Payment Refunds

List refunds for the account. GET /v2/refunds. Cursor pagination.

GET

Get Payment Refund

Retrieve a refund by id. GET /v2/refunds/{refund_id}.

POST

Create Order

Create an order with line items, taxes, and discounts. POST /v2/orders.

POST

Batch Retrieve Orders

Retrieve up to 100 orders by id. POST /v2/orders/batch-retrieve.

GET

Get Order

Retrieve one order by id. GET /v2/orders/{order_id}.

PUT

Update Order

Update an open order (add/remove line items, apply discounts). PUT /v2/orders/{order_id}.

POST

Search Orders

Search orders across locations with filters and sort. POST /v2/orders/search. Cursor pagination.

POST

Pay Order

Pay for an order using existing payment ids. POST /v2/orders/{order_id}/pay.

POST

Clone Order

Create a new draft order that is a copy of an existing order. POST /v2/orders/clone.

POST

Create Customer

Create a customer profile. POST /v2/customers.

GET

List Customers

List customer profiles. GET /v2/customers. Cursor pagination.

POST

Search Customers

Search customers by filters (email, phone, reference id, created/updated). POST /v2/customers/search.

GET

Get Customer

Retrieve a customer by id. GET /v2/customers/{customer_id}.

PUT

Update Customer

Update a customer profile. PUT /v2/customers/{customer_id}.

DELETE

Delete Customer

Delete a customer profile. DELETE /v2/customers/{customer_id}.

POST

Create Customer Card

Store a card on file for a customer (deprecated Card endpoint; prefer create_card). POST /v2/customers/{customer_id}/cards.

DELETE

Delete Customer Card

Remove a card on file from a customer. DELETE /v2/customers/{customer_id}/cards/{card_id}.

GET

List Customer Groups

List customer groups. GET /v2/customers/groups.

POST

Create Customer Group

Create a customer group. POST /v2/customers/groups.

GET

Get Customer Group

Retrieve a customer group by id. GET /v2/customers/groups/{group_id}.

PUT

Update Customer Group

Update a customer group. PUT /v2/customers/groups/{group_id}.

DELETE

Delete Customer Group

Delete a customer group. DELETE /v2/customers/groups/{group_id}.

PUT

Add Customer To Group

Add a customer to a group. PUT /v2/customers/{customer_id}/groups/{group_id}.

DELETE

Remove Customer From Group

Remove a customer from a group. DELETE /v2/customers/{customer_id}/groups/{group_id}.

GET

List Customer Segments

List customer segments. GET /v2/customers/segments.

GET

Get Customer Segment

Retrieve a customer segment by id. GET /v2/customers/segments/{segment_id}.

GET

List Customer Custom Attribute Definitions

List custom attribute definitions for customers. GET /v2/customers/custom-attribute-definitions.

POST

Upsert Customer Custom Attribute

Set a custom attribute value on a customer. POST /v2/customers/{customer_id}/custom-attributes/{key}.

GET

List Catalog

List catalog objects of given types. GET /v2/catalog/list. Cursor pagination.

POST

Upsert Catalog Object

Create or update a single catalog object. POST /v2/catalog/object.

GET

Get Catalog Object

Retrieve a catalog object (and optionally related objects) by id. GET /v2/catalog/object/{object_id}.

DELETE

Delete Catalog Object

Delete a catalog object and its children. DELETE /v2/catalog/object/{object_id}.

POST

Batch Upsert Catalog Objects

Create or update up to 10,000 catalog objects in batches. POST /v2/catalog/batch-upsert.

POST

Batch Retrieve Catalog Objects

Retrieve a set of catalog objects by id. POST /v2/catalog/batch-retrieve.

POST

Batch Delete Catalog Objects

Delete a set of catalog objects by id. POST /v2/catalog/batch-delete.

POST

Search Catalog Objects

Search catalog objects with filters. POST /v2/catalog/search. Cursor pagination.

POST

Search Catalog Items

Search catalog items with a simplified item-focused query. POST /v2/catalog/search-catalog-items.

POST

Update Item Modifier Lists

Enable/disable modifier lists on catalog items. POST /v2/catalog/update-item-modifier-lists.

POST

Update Item Taxes

Enable/disable taxes on catalog items. POST /v2/catalog/update-item-taxes.

GET

Catalog Info

Retrieve catalog limits and standard object attributes. GET /v2/catalog/info.

POST

Create Catalog Image

Upload an image and attach it to a catalog object. POST /v2/catalog/images (multipart/form-data).

POST

Batch Retrieve Inventory Counts

Retrieve current inventory counts for catalog objects at locations. POST /v2/inventory/counts/batch-retrieve.

GET

Get Inventory Count

Retrieve the inventory count for a catalog object at locations. GET /v2/inventory/{catalog_object_id}.

POST

Batch Change Inventory

Apply adjustments and physical counts to inventory. POST /v2/inventory/changes/batch-create.

POST

Batch Retrieve Inventory Changes

Retrieve historical inventory changes. POST /v2/inventory/changes/batch-retrieve.

POST

Create Invoice

Create a draft invoice from an order. POST /v2/invoices.

POST

Search Invoices

Search invoices for locations. POST /v2/invoices/search. Cursor pagination.

GET

Get Invoice

Retrieve an invoice by id. GET /v2/invoices/{invoice_id}.

PUT

Update Invoice

Update a draft invoice. PUT /v2/invoices/{invoice_id}.

DELETE

Delete Invoice

Delete a draft invoice. DELETE /v2/invoices/{invoice_id}.

POST

Publish Invoice

Publish a draft invoice (sends it and starts collecting payment). POST /v2/invoices/{invoice_id}/publish.

POST

Cancel Invoice

Cancel a published invoice. POST /v2/invoices/{invoice_id}/cancel.

POST

Create Subscription

Start a subscription for a customer against a subscription plan. POST /v2/subscriptions.

POST

Search Subscriptions

Search subscriptions by location/customer. POST /v2/subscriptions/search.

GET

Get Subscription

Retrieve a subscription by id. GET /v2/subscriptions/{subscription_id}.

PUT

Update Subscription

Update a subscription. PUT /v2/subscriptions/{subscription_id}.

POST

Cancel Subscription

Schedule cancellation of a subscription at the end of the billing period. POST /v2/subscriptions/{subscription_id}/cancel.

POST

Pause Subscription

Schedule a pause of a subscription. POST /v2/subscriptions/{subscription_id}/pause.

POST

Resume Subscription

Schedule resumption of a paused subscription. POST /v2/subscriptions/{subscription_id}/resume.

POST

Swap Subscription Plan

Swap the plan variation on a subscription. POST /v2/subscriptions/{subscription_id}/swap-plan.

GET

List Subscription Events

List events for a subscription. GET /v2/subscriptions/{subscription_id}/events.

POST

Create Payment Link

Create a hosted checkout / payment link. POST /v2/online-checkout/payment-links.

GET

List Payment Links

List payment links. GET /v2/online-checkout/payment-links.

GET

Get Payment Link

Retrieve a payment link by id. GET /v2/online-checkout/payment-links/{id}.

PUT

Update Payment Link

Update a payment link. PUT /v2/online-checkout/payment-links/{id}.

DELETE

Delete Payment Link

Delete a payment link. DELETE /v2/online-checkout/payment-links/{id}.

POST

Create Card

Save a card on file (Cards API). POST /v2/cards.

GET

List Cards

List saved cards on file. GET /v2/cards. Cursor pagination.

GET

Get Card

Retrieve a saved card by id. GET /v2/cards/{card_id}.

POST

Disable Card

Disable a saved card so it can no longer be charged. POST /v2/cards/{card_id}/disable.

GET

List Bank Accounts

List linked bank accounts. GET /v2/bank-accounts.

GET

Get Bank Account

Retrieve a bank account by id. GET /v2/bank-accounts/{bank_account_id}.

GET

List Disputes

List payment disputes (chargebacks). GET /v2/disputes.

GET

Get Dispute

Retrieve a dispute by id. GET /v2/disputes/{dispute_id}.

POST

Accept Dispute

Accept a dispute (concede the disputed amount). POST /v2/disputes/{dispute_id}/accept.

POST

Submit Dispute Evidence

Submit accumulated evidence to challenge a dispute. POST /v2/disputes/{dispute_id}/submit-evidence.

POST

Search Team Members

Search team members by location/status. POST /v2/team-members/search.

POST

Create Team Member

Create a team member. POST /v2/team-members.

GET

Get Team Member

Retrieve a team member by id. GET /v2/team-members/{team_member_id}.

PUT

Update Team Member

Update a team member. PUT /v2/team-members/{team_member_id}.

GET

Get Wage Setting

Retrieve a team member's wage setting. GET /v2/team-members/{team_member_id}/wage-setting.

PUT

Update Wage Setting

Create or update a team member's wage setting. PUT /v2/team-members/{team_member_id}/wage-setting.

POST

Create Shift

Record a worked shift for a team member (Labor API). POST /v2/labor/shifts.

POST

Search Shifts

Search worked shifts. POST /v2/labor/shifts/search.

GET

Get Shift

Retrieve a shift by id. GET /v2/labor/shifts/{id}.

PUT

Update Shift

Update a shift (edit times, breaks, wage). PUT /v2/labor/shifts/{id}.

DELETE

Delete Shift

Delete a shift. DELETE /v2/labor/shifts/{id}.

GET

List Break Types

List break types configured for locations. GET /v2/labor/break-types.

GET

List Team Member Wages

List team member wages. GET /v2/labor/team-member-wages.

GET

List Loyalty Programs

List loyalty programs (use 'main' to retrieve the merchant's program). GET /v2/loyalty/programs.

GET

Get Loyalty Program

Retrieve a loyalty program by id (or 'main'). GET /v2/loyalty/programs/{program_id}.

POST

Create Loyalty Account

Create a loyalty account for a buyer. POST /v2/loyalty/accounts.

POST

Search Loyalty Accounts

Search loyalty accounts (by phone/customer). POST /v2/loyalty/accounts/search.

GET

Get Loyalty Account

Retrieve a loyalty account by id. GET /v2/loyalty/accounts/{account_id}.

POST

Accumulate Loyalty Points

Add points to a loyalty account for an order. POST /v2/loyalty/accounts/{account_id}/accumulate.

POST

Create Loyalty Reward

Create a loyalty reward (redeem points for a discount). POST /v2/loyalty/rewards.

POST

Redeem Loyalty Reward

Redeem a loyalty reward, applying it to the order. POST /v2/loyalty/rewards/{reward_id}/redeem.

GET

List Loyalty Promotions

List promotions for a loyalty program. GET /v2/loyalty/programs/{program_id}/promotions.

POST

Create Gift Card

Create a digital gift card. POST /v2/gift-cards.

GET

List Gift Cards

List gift cards. GET /v2/gift-cards.

GET

Get Gift Card

Retrieve a gift card by id. GET /v2/gift-cards/{id}.

POST

Create Gift Card Activity

Activate, load, redeem, or adjust a gift card balance. POST /v2/gift-cards/activities.

GET

List Gift Card Activities

List gift card activities. GET /v2/gift-cards/activities.

POST

Create Booking

Create an appointment booking. POST /v2/bookings.

POST

Search Availability

Search available booking slots. POST /v2/bookings/availability/search.

GET

List Bookings

List bookings. GET /v2/bookings.

GET

Get Booking

Retrieve a booking by id. GET /v2/bookings/{booking_id}.

PUT

Update Booking

Update a booking. PUT /v2/bookings/{booking_id}.

POST

Cancel Booking

Cancel a booking. POST /v2/bookings/{booking_id}/cancel.

GET

List Team Member Booking Profiles

List bookable team member profiles. GET /v2/bookings/team-member-booking-profiles.

POST

Create Terminal Checkout

Send a checkout to a Square Terminal device. POST /v2/terminals/checkouts.

POST

Search Terminal Checkouts

Search terminal checkouts. POST /v2/terminals/checkouts/search.

GET

Get Terminal Checkout

Retrieve a terminal checkout by id. GET /v2/terminals/checkouts/{checkout_id}.

POST

Cancel Terminal Checkout

Cancel a terminal checkout. POST /v2/terminals/checkouts/{checkout_id}/cancel.

POST

Create Terminal Refund

Send a refund request to a Square Terminal device. POST /v2/terminals/refunds.

POST

Create Device Code

Create a device code to pair a Square Terminal. POST /v2/devices/codes.

GET

List Devices

List paired devices. GET /v2/devices.

GET

Get Device

Retrieve a device by id. GET /v2/devices/{device_id}.

GET

List Cash Drawer Shifts

List cash drawer shifts for a location. GET /v2/cash-drawers/shifts.

GET

Get Cash Drawer Shift

Retrieve a cash drawer shift by id. GET /v2/cash-drawers/shifts/{shift_id}.

POST

Search Vendors

Search vendors. POST /v2/vendors/search.

POST

Create Vendor

Create a vendor. POST /v2/vendors/create.

GET

Get Vendor

Retrieve a vendor by id. GET /v2/vendors/{vendor_id}.

PUT

Update Vendor

Update a vendor. PUT /v2/vendors/{vendor_id}.

GET

List Sites

List Square Online sites. GET /v2/sites.

GET

Get Snippet

Retrieve the snippet on a site. GET /v2/sites/{site_id}/snippet.

POST

Upsert Snippet

Add or update the snippet on a site. POST /v2/sites/{site_id}/snippet.

DELETE

Delete Snippet

Remove the snippet from a site. DELETE /v2/sites/{site_id}/snippet.

GET

List Webhook Event Types

List event types you can subscribe a webhook to. GET /v2/webhooks/event-types.

GET

List Webhook Subscriptions

List webhook subscriptions. GET /v2/webhooks/subscriptions.

POST

Create Webhook Subscription

Create a webhook subscription for event types. POST /v2/webhooks/subscriptions.

GET

Get Webhook Subscription

Retrieve a webhook subscription by id. GET /v2/webhooks/subscriptions/{subscription_id}.

PUT

Update Webhook Subscription

Update a webhook subscription. PUT /v2/webhooks/subscriptions/{subscription_id}.

DELETE

Delete Webhook Subscription

Delete a webhook subscription. DELETE /v2/webhooks/subscriptions/{subscription_id}.

POST

Test Webhook Subscription

Send a test event to a webhook subscription's notification URL. POST /v2/webhooks/subscriptions/{subscription_id}/test.

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.