Product
Jentic OSThe workplace. An in-house AI platform for every employeeJentic OneSafe access. Agents reach your systems without holding keysJentic AIRThe foundation. Gets your existing platforms ready for AI
Pricing
Developers

GET STARTED

API DirectoryBrowse 10,000+ APIs Ready For AI Agent IntegrationDocumentationGuides and API referenceQuickstartGet up and running in minutes

COMMUNITY

GitHubOpen source projects and examplesOpen StandardsBuilt on open specs. Never locked in.
Resources
Company
About UsOur mission and teamCareersJoin our teamContactGet in touch
Try it now
Jentic OSJentic OneJentic AIR
Pricing
API DirectoryDocumentationQuickstartGitHubOpen Standards
Resources
About UsCareersContact
Try it now
JenticJentic
For Enterprises
  • Product Overview
  • Agentic Sandbox
  • Book a Demo
For Developers
  • Jentic One
  • Documentation
  • GitHub
Company
  • About Jentic
  • Careers
  • Contact Us
  • Trust Centre
ISO/IEC 27001:2022 certification badge issued by Prescient SecurityISO/IEC 27001:2022 certification badge issued by Prescient Security

Information Security Management System

Certified to ISO/IEC 27001:2022 by Prescient Security

Terms & Conditions•Privacy Policy•
© 2026 Jentic. All rights reserved.
Switch to light modeSwitch to dark mode
APIs / E Commerce / Square
Square logo

Square

★ Only Publicly Available OpenAPI DocumentE CommerceInventoryapiKey, oauth2327 EndpointsREST

For Agents

Programmatically createmobileauthorizationcode, revoketoken. Covers 327 operations with apiKey, oauth2 authentication.

Use for: I need to createmobileauthorizationcode, I want to revoketoken, Search for obtaintoken, Find all retrievetokenstatus

Not supported: Does not handle payments, communications, or crm - use for e-commerce only.

Use Square APIs to manage and run business including payment, customer, product, inventory, and employee management. The API exposes 327 endpoints secured with apiKey, oauth2 authentication.

Jentic One on GithubView OpenAPI Document

Install Jentic One Beta

Connect the Square to your agent

Jentic One is a self-hosted execution layer for AI agents. It lets your agent call the Square, or any other public or private API you need. You set the rules, the agent never sees your credentials, and every call is logged.

Two steps, two machines. Install the instance in a safe environment, then register your agent from wherever it runs.

1

Step 1: Jentic One Host machine

# On the machine that will host your Jentic One instance:
curl -fsSL "https://jentic.com/install.sh?src=apis&api=%2Fapis%2Fsquare.com%2Fsquare" | sh
2

Step 2: Agent machine

# On the machine where your agent runs (keep this separate from the instance):
curl -fsSL "https://jentic.com/install.sh?src=apis&api=%2Fapis%2Fsquare.com%2Fsquare" | sh
jentic register       # connects your agent to your Jentic One instance

Jentic One is in public beta. The setup above keeps your agent separate from the instance, which is what you want before using real credentials: an agent running as the same OS user as Jentic One can read its stored keys directly. Just evaluating? A single local install is fine to start. See the secure deployment guide for the tiers.

Capabilities

What an agent can do with Square API.

CreateMobileAuthorizationCode

RevokeToken

ObtainToken

RetrieveTokenStatus

V1ListOrders

V1RetrieveOrder

V1UpdateOrder

Use Cases

Patterns agents use Square API for, with concrete tasks.

★ E-Commerce Operations

Use the Square to perform e commerce operations programmatically. The API provides 327 endpoints covering core functionality including createmobileauthorizationcode, revoketoken, obtaintoken.

Call POST /mobile/authorization-code to createmobileauthorizationcode

Automated Apple Pay Management

Automate apple pay operations by combining multiple Square endpoints. Agents can revoketoken and then obtaintoken in a single workflow.

Call POST /oauth2/revoke to revoketoken, then verify the result

AI Agent Integration via Jentic

AI agents discover and call Square endpoints through Jentic without managing credentials directly. An agent searches for the required operation by intent, receives the matching endpoint schema, and executes the call with Jentic-managed authentication. This eliminates the need to read API documentation or handle apiKey, oauth2 tokens manually.

Search Jentic for 'createmobileauthorizationcode', load the operation schema, and execute with Jentic-managed credentials

Key Endpoints

327 endpoints — use square apis to manage and run business including payment, customer, product, inventory, and employee management.

METHOD

PATH

DESCRIPTION

POST

/mobile/authorization-code

CreateMobileAuthorizationCode

POST

/oauth2/revoke

RevokeToken

POST

/oauth2/token

ObtainToken

POST

/oauth2/token/status

RetrieveTokenStatus

GET

/v1/{location_id}/orders

V1ListOrders

GET

/v1/{location_id}/orders/{order_id}

V1RetrieveOrder

PUT

/v1/{location_id}/orders/{order_id}

V1UpdateOrder

POST

/v2/apple-pay/domains

RegisterDomain

POST

/mobile/authorization-code

CreateMobileAuthorizationCode

POST

/oauth2/revoke

RevokeToken

POST

/oauth2/token

ObtainToken

POST

/oauth2/token/status

RetrieveTokenStatus

GET

/v1/{location_id}/orders

V1ListOrders

GET

/v1/{location_id}/orders/{order_id}

V1RetrieveOrder

PUT

/v1/{location_id}/orders/{order_id}

V1UpdateOrder

POST

/v2/apple-pay/domains

RegisterDomain

Why Jentic?

What agents get from Jentic-routed access to this vendor.

Setup

Setup

Wiring Square by hand means running its OAuth 2.0 flow against connect.squareup.com, refreshing tokens, and threading the location id into order paths yourself. Through Jentic you install once, import Square from the API Directory, store the credentials once, and your agent calls it.

Permission scoping

Permission scoping

Square puts the location id in the URL path (/v1/{location_id}/orders/...), so a rule can pin your agent to one location: it can read and update orders there and nothing else. You choose the operations it may call, so ones like updating an order are not included unless you add them.

Credential management

Credential isolation

Your Square OAuth credentials are stored once, encrypted, by your own Jentic One instance and injected at execution time. They never enter the agent's prompt, logs, or context.

Intent-based discovery

Intent-based discovery

Agents search Jentic by intent such as 'list orders for this location' or 'get an order by id', and Jentic returns the matching Square operation with its input schema so the agent calls the right endpoint without browsing the reference docs.

Related APIs

Alternatives and complements available in the Jentic catalogue.

Alternative

Shopify

→

Alternative e commerce API

Choose Shopify when you need a different approach to e commerce operations

Alternative

Stripe

Alternative e commerce API

Choose Stripe when you need a different approach to e commerce operations

FAQs

Specific to using Square API through Jentic.

What authentication does the Square use?

The Square uses apiKey, oauth2 authentication. Through Jentic, these credentials are stored encrypted in your Jentic One instance and injected at execution time, so raw secrets never enter the agent context.

Can I createmobileauthorizationcode with the Square?

Yes. Use the POST /mobile/authorization-code endpoint. The API returns structured JSON responses that agents can parse and act on directly.

What are the rate limits for the Square?

Rate limits are not specified in the OpenAPI spec. Check the vendor documentation for current limits. Through Jentic, rate limiting is handled automatically with retry logic built into the execution layer.

How do I createmobileauthorizationcode through Jentic?

Install the Jentic SDK with pip install jentic, authenticate through Jentic One, the self-hosted execution layer, then search for 'createmobileauthorizationcode'. Jentic returns the matching Square operation with its input schema. Load the schema and execute the call - credentials are injected automatically.

How many endpoints does the Square have?

The Square exposes 327 endpoints covering apple pay, bank accounts, bookings operations.

Can I limit what my agent is allowed to do with the Square API?

Yes. Jentic One is self-hosted by you, so your own rules decide which Square operations and credentials the agent may use. Because Square puts the location id in the URL path, such as /v1/{location_id}/orders, you can pin the agent to a single location and let it read orders there while excluding everything else. You choose which operations it may call, so an operation like V1UpdateOrder is only available if you add it.

GET STARTED

Start building with Square API

Explore with Jentic One
View OpenAPI Document