ReferenceSDKs

SDKs

Use the official SDKs for the Business API. For x402, use the OpenAPI contract and official x402/SIWX client libraries until SDK naming is explicitly updated.

Node.js SDK

Relevant helpers under sdks/nodejs/src/external-api:

import {
  createBusinessApiClient,
  buildBusinessSignaturePayload,
  createBusinessAuthHeaders,
} from '@mindswap/sdk';

The repository currently exposes legacy createAgenticApiClient naming for older agentic SDK flows. Do not invent createX402ApiClient unless the SDK task has added it.

Python SDK

Relevant helpers under sdks/python/src/mindswap/external_api.py:

from mindswap.external_api import (
    BusinessApiClient,
    AsyncBusinessApiClient,
    build_business_signature_payload,
    build_business_auth_headers,
)

The repository currently exposes legacy AgenticApiClient naming for older agentic SDK flows. Do not invent X402ApiClient unless the SDK task has added it.