# Square integration

> Accept payments, manage orders, customers, inventory, and run a business with the Square platform API.

- Authentication: oauth2

## Tools (74)

- **Accept Dispute**: Accepts the loss on a dispute, ending the dispute process.
- **Accumulate Loyalty Points**: Adds points earned from a purchase to a loyalty account.
- **Adjust Loyalty Points**: Adds points to or subtracts points from a buyer's loyalty account.
- **Batch Change Inventory**: Applies physical count adjustments and stock changes to catalog item quantities at specified locations.
- **Batch Delete Catalog Objects**: Deletes multiple catalog objects by their IDs in a single request.
- **Batch Retrieve Inventory Counts**: Returns current inventory counts for the provided catalog objects at the requested locations.
- **Batch Retrieve Orders**: Retrieves a set of orders by their IDs in a single request.
- **Batch Upsert Catalog Objects**: Creates or updates multiple catalog objects in a single request (up to 10,000 objects across batches of 1,000).
- **Bulk Create Customers**: Creates multiple customer profiles in a single request (up to 100 customers per batch).
- **Calculate Order**: Calculates an order's pricing without creating it. Useful for previewing totals with taxes and discounts.
- **Cancel Booking**: Cancels an existing booking.
- **Cancel Invoice**: Cancels an invoice and changes the associated order status to CANCELED.
- **Cancel Payment**: Cancels (voids) a payment that has not yet been completed.
- **Cancel Subscription**: Schedules a cancellation of an active subscription at the end of the current billing period.
- **Complete Payment**: Completes (captures) a payment that was created with autocomplete set to false.
- **Create Booking**: Creates a booking for a service appointment at a specific location and time.
- **Create Card**: Adds a card on file for a customer using a payment token from the Web Payments SDK.
- **Create Customer**: Creates a new customer profile for a business. At least one of name, company, email, or phone is required.
- **Create Gift Card**: Creates a digital gift card or registers a physical (plastic) gift card.
- **Create Invoice**: Creates a draft invoice for an order. The order must be created first using the Orders API.
- **Create Location**: Creates a new business location for the seller.
- **Create Loyalty Account**: Creates a loyalty account for a buyer in a loyalty program.
- **Create Order**: Creates a new order with line items, taxes, discounts, and fulfillment details.
- **Create Payment**: Creates a payment using a payment source (token, card on file, cash, or external source).
- **Create Subscription**: Enrolls a customer in a subscription plan, creating a recurring billing schedule.
- **Create Team Member**: Creates a single team member for the business.
- **Delete Catalog Object**: Deletes a catalog object and its related objects (e.g., deleting an item also deletes its variations).
- **Delete Customer**: Deletes a customer profile from the business.
- **Delete Invoice**: Deletes the specified invoice. Only draft and scheduled invoices can be deleted.
- **Disable Card**: Disables a card on file, preventing any further updates or charges to it.
- **Get Customer**: Returns details for a single customer profile by ID.
- **Get Dispute**: Returns details about a specific dispute (chargeback).
- **Get Invoice**: Retrieves an invoice by its ID.
- **Get Payment**: Retrieves details for a specific payment by its ID.
- **Get Payment Refund**: Retrieves a specific refund by its ID.
- **Get Payout**: Retrieves details of a specific payout by its ID.
- **Get Subscription**: Retrieves a specific subscription by its ID.
- **List Bookings**: Retrieves a collection of bookings, with optional filtering by team member, location, and date range.
- **List Cards**: Retrieves a list of cards saved on file for the account, optionally filtered by customer.
- **List Catalog**: Returns a paginated list of all catalog objects of the specified types.
- **List Customers**: Lists customer profiles associated with a Square account, with optional sorting and pagination.
- **List Disputes**: Returns a list of disputes (chargebacks) associated with the account.
- **List Gift Cards**: Lists all gift cards for the account, with optional filtering by type, state, or customer.
- **List Invoices**: Returns a list of invoices for a given location, with pagination support.
- **List Locations**: Provides details about all of the seller's locations, including those with an inactive status.
- **List Merchants**: Provides details about the merchant(s) associated with the access token.
- **List Payment Refunds**: Retrieves a list of refunds for the account, with optional filtering by date, location, status, and source.
- **List Payments**: Retrieves a list of payments taken by the account, with optional filtering by date, location, card, and amount.
- **List Payout Entries**: Retrieves a list of all payout entries (individual transactions) for a specific payout.
- **List Payouts**: Retrieves a list of all payouts (deposits and withdrawals) for the default location.
- **Publish Invoice**: Publishes a draft invoice, transitioning it to a payable state and sending it to the customer.
- **Refund Payment**: Refunds a payment, either fully or partially. Can also create unlinked refunds.
- **Resume Subscription**: Schedules a resume action for a paused or deactivated subscription.
- **Retrieve Catalog Object**: Retrieves a single catalog object by its ID, optionally including related objects.
- **Retrieve Gift Card**: Retrieves a gift card using the gift card ID.
- **Retrieve Inventory Count**: Retrieves the current calculated stock count for a specific catalog object at given locations.
- **Retrieve Location**: Retrieves details for a single location by its ID.
- **Retrieve Loyalty Program**: Retrieves the loyalty program in a seller's account, including earning rules and reward tiers.
- **Retrieve Order**: Retrieves an order by its ID.
- **Search Availability**: Searches for available time slots for booking appointments based on service, staff, and location.
- **Search Catalog Objects**: Searches for catalog objects using query filters on type, prefix, exact match, range, and more.
- **Search Customers**: Searches customer profiles using filters on name, email, phone, reference ID, creation date, and more.
- **Search Invoices**: Searches for invoices from a location using filters on customer ID and status.
- **Search Loyalty Accounts**: Searches for loyalty accounts in a loyalty program by phone number, customer ID, or other criteria.
- **Search Orders**: Searches for orders using filters on location, date range, state, fulfillment, and customer.
- **Search Subscriptions**: Searches for subscriptions using filters on customer, location, and source.
- **Search Team Members**: Returns a paginated list of team members, optionally filtered by location, status, or active status.
- **Submit Dispute Evidence**: Submits evidence to the cardholder's bank to challenge a dispute. Includes uploading text and file evidence.
- **Update Customer**: Updates an existing customer profile. Unset fields in the request are left unchanged.
- **Update Invoice**: Updates an invoice by modifying fields or clearing data. Requires the current version for optimistic concurrency.
- **Update Location**: Updates an existing location's details such as name, address, hours, and description.
- **Update Payment**: Updates a payment with APPROVED status. Can update amount, tip, and other fields before completion.
- **Update Subscription**: Updates a subscription by modifying or clearing fields like plan variation, card, or tax percentage.
- **Upsert Catalog Object**: Creates a new or updates an existing catalog object (item, variation, category, tax, discount, modifier, etc.).

Connect Square in General Input: https://www.generalinput.com/apps/square