Payments

Square

standard

Square is an reliable payments provider offering Subscriptions, One-time Payments, Payment Webhooks through Aweb's unified API. It features none streaming support with premium-tier latency.

Try SquareOfficial docs

Specifications

CategoryPayments
Auth Typeapi_key
Latency Tierpremium
Streamingnone
Pricing Tierstandard
Reliabilitypremium
Qualitypremium
Base URLhttps://connect.squareup.com/v2
SDK Package

Capabilities (3)

Subscriptionspayments.subscribe
Score: 85
One-time Paymentspayments.charge
Score: 87
Payment Webhookspayments.webhook
Score: 85

Quick start

Use Square through Alfred's unified API — no provider-specific SDK needed.

cURL

curl -X POST https://api.alfred-ai.app/v1/execute \
  -H "Authorization: Bearer $ALFRED_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "provider": "square",
    "capability": "payments.subscribe",
    "input": { "prompt": "Hello from Square!" }
  }'

TypeScript

import { Alfred } from '@alfred/core';

const alfred = new Alfred({ apiKey: process.env.ALFRED_API_KEY });

const result = await alfred.execute({
  provider: 'square',
  capability: 'payments.subscribe',
  input: { prompt: 'Hello from Square!' },
});

console.log(result.output);

Related Payments providers

Stripe

standard tier

Getting started →API reference →All capabilities →All providers →