Skip to main content
Complete documentation for all StateSet Commerce Network APIs. All API endpoints are RESTful and return JSON responses.

🌐 Base URLs

🔑 Authentication

All requests must include your API key in the Authorization header:

📚 Core APIs

Stablecoin API

Issue, redeem, and transfer ssUSD stablecoinsKey Endpoints:
  • POST /stablecoin/issue
  • POST /stablecoin/redeem
  • POST /stablecoin/transfer
  • GET /stablecoin/balance

Payments API

Process payments and handle transactionsKey Endpoints:
  • POST /payments/create
  • GET /payments/{id}
  • POST /payments/refund
  • GET /payments/list

Orders API

Manage e-commerce orders and fulfillmentKey Endpoints:
  • POST /orders/create
  • PATCH /orders/{id}
  • POST /orders/{id}/fulfill
  • GET /orders/list

Finance API

Trade finance, factoring, and lendingKey Endpoints:
  • POST /finance/invoices/factor
  • POST /finance/po/finance
  • POST /finance/loans/create
  • GET /finance/options

AI Agents API

Deploy and manage autonomous agentsKey Endpoints:
  • POST /agents/create
  • POST /agents/{id}/execute
  • GET /agents/{id}/activity
  • PATCH /agents/{id}/config

Global Commerce API

Cross-border trade and complianceKey Endpoints:
  • POST /global/orders/create
  • POST /global/compliance/check
  • GET /global/tax/calculate
  • POST /global/shipping/quote

🔧 Common Parameters

Pagination

Most list endpoints support pagination: Example:

Filtering

List endpoints support filtering:

Expanding Objects

Request nested objects in a single call:

📨 Request Format

Headers

Request Body

All POST, PUT, and PATCH requests accept JSON:

📤 Response Format

Success Response

Error Response

🔄 Idempotency

Ensure safe retries with idempotency keys:
Idempotency keys are valid for 24 hours.

📊 Rate Limits

Rate limit headers:

🌍 CORS

The API supports CORS for browser-based requests:

🔐 Security

API Key Types

Best Practices

  1. Never expose secret keys in client-side code
  2. Use HTTPS for all requests
  3. Verify webhooks with signature validation
  4. Implement retry logic with exponential backoff
  5. Monitor rate limits and implement caching

📡 Webhooks

Register webhooks to receive real-time events:
Learn more about webhooks →

🧪 Testing

Test Mode

Use test API keys to simulate transactions:
  • No real money movement
  • Immediate transaction processing
  • Special test card numbers available

Test Data

📱 SDK Support

Official SDKs available for:

Node.js

Python

Go

View all SDKs →

🆘 Support Resources

API Status

Real-time API status and incidents

Postman Collection

Import our complete API collection

Discord Community

Get help from developers

Support Portal

Contact our support team
Last modified on August 29, 2026