Skip to content
Maua.Culturewire

Square

Payments, orders, customers, catalog and inventory for your business

Finance and accountingCatalog2 tools · 0 triggers

Managed auth

Authentication

Methods your end users can connect with. Credentials are stored encrypted, and secret values are never shown again or returned by the API.

  • API key

    Your users enter

    • Access tokenSecretRequired
    • EnvironmentOptionalIdentifier2 choices

    Where to find them

    1. At developer.squareup.com/apps sign in with your Square account and create an application (or open one).
    2. In “Credentials” choose “Production” at the top (or “Sandbox” for testing) and copy the “Access token”.
    3. Choose the same environment here. That token has full access to the business account: keep it safe.

    Get credentials (opens in a new tab)

  • OAuth 2.0

    Your OAuth app

    Bring your own OAuth app: register one with Square, then create a custom auth config with its client ID and secret and our redirect URI. Setup guide

    Registering the OAuth app

    1. At developer.squareup.com/apps open your application (or create one named “Maua.Culturewire”) and choose “Production” at the top.
    2. In the left menu open “OAuth”, click “Update” under “Redirect URL”, paste the redirect URI shown below (Square requires HTTPS) and click “Confirm”.
    3. Copy the “Application ID” (the client ID) and, with “Show”, the “Application secret”. It only works for the production account (for Sandbox testing, use the access token). Whoever connects accepts the permissions (scopes) listed below.

    Default scopes

    • MERCHANT_PROFILE_READ
    • PAYMENTS_READ
    • PAYMENTS_WRITE
    • ORDERS_READ
    • ORDERS_WRITE
    • CUSTOMERS_READ
    • CUSTOMERS_WRITE
    • ITEMS_READ
    • ITEMS_WRITE
    • INVENTORY_READ
    • INVOICES_READ

Tools (2)

  • Square API requestSQUARE_SEND_REQUEST

    Authenticated call to the Square API (https://{environment}/v2). Any endpoint of the API is allowed. Amounts in cents (amount_money.amount). Examples: GET /locations, GET /payments?begin_time=2026-10-01T00:00:00Z&limit=50, GET /payments/{id}, POST /orders/search {"location_ids": ["…"], "query": {"filter": {"state_filter": {"states": ["COMPLETED"]}}}}, POST /customers/search {"query": {"filter": {"email_address": {"exact": "…"}}}}, GET /catalog/list?types=ITEM, POST /inventory/counts/batch-retrieve {"location_ids": ["…"]}, POST /refunds {"idempotency_key": "…", "payment_id": "…", "amount_money": {"amount": 500, "currency": "EUR"}}, GET /invoices?location_id=…. Pagination: cursor.

    Required scopes

    No scopes required

    Input

    Square API request input
    NameTypeDescription
    methodstringHTTP methodOne of: GET, POST, PUT, PATCH, DELETEDefault: "GET"
    pathrequiredstringPath relative to the API base URL, or a full URL on the same API (e.g. a next-page link)
    queryobjectQuery string parameters
    bodyunknownJSON body
    formobjectBody as application/x-www-form-urlencoded instead of JSON
    body_base64stringBinary body, base64 (at most 960000 characters)
    content_typestringContent-Type of body_base64
    headersobjectExtra headers such as Accept. Authentication is added automatically.
  • PaymentsSQUARE_LIST_PAYMENTS

    Payments from newest to oldest: id, date, amount, status, source (card, cash…), card brand, location, order, note and receipt.

    Required scopes

    No scopes required

    Input

    Payments input
    NameTypeDescription
    fromstringYYYY-MM-DD or ISO 8601 (default: last year)
    tostringYYYY-MM-DD or ISO 8601
    locationstringLocation ID (GET /locations)
    maxintegerDefault: 50
    cursorstringThe “next” value from the previous call