Blocks

Square

Accept payments and manage business operations with Square

Integrate with Square to process payments, manage inventory, create invoices, and handle customer data. Perfect for small businesses and retailers with POS integration using OAuth 2.0 authentication.

Back to Catalog
Toolssquare

Block Preview

Square

Square

Accept payments and manage business operations with Square

Usage

  1. Add the block to your workflow and connect it to the upstream step.
  2. Connect the required credentials or OAuth provider before running.
  3. Fill in required inputs and optional parameters for the run.
  4. Run a test execution, inspect outputs, and iterate before deploying.
  5. Deploy the square block with monitoring enabled in production.

Inputs (UI)

Square Account

oauth-input

Placeholder: Select Square account

Layout: full

Provider: square

Operation

dropdown

Layout: full

Options: Create Payment, Get Payment, List Payments, Refund Payment

Amount (in cents)

short-input

Placeholder: 10000

Layout: half

Condition: operation = ["create_payment","refund_payment"]

Currency

dropdown

Layout: half

Condition: operation = ["create_payment","refund_payment","create_order"]

Options: USD, CAD, GBP, EUR

Payment ID

short-input

Placeholder: Enter payment ID

Layout: full

Condition: operation = ["get_payment","refund_payment"]

Order ID

short-input

Placeholder: Enter order ID

Layout: full

Condition: operation = ["get_order","update_order"]

Source ID (Card Nonce)

short-input

Placeholder: cnon:...

Layout: full

Condition: operation = "create_payment"

Note

long-input

Placeholder: Payment note

Layout: full

Condition: operation = ["create_payment","create_order"]

Inputs (API)

credential

string

Required

operation

string

Required

amount

string

Optional

currency

string

Optional

paymentId

string

Optional

orderId

string

Optional

sourceId

string

Optional

note

string

Optional

Outputs

Primary response type:

{
  "data": "json"
}

Tool Access

square_api
Square | NowFlow Blocks