Skip to main content

Orders API: The Foundation of Digital Commerce

The Orders API is the core of StateSet Commerce Network, providing comprehensive order lifecycle management from creation to fulfillment. With native USDC integration, real-time tracking, and enterprise-grade automation, it’s designed to handle millions of orders with sub-second latency.

🚀 Quick Start

🎯 Key Features

Native USDC Payments

  • Pay fees in USDC (no gas token required)
  • Instant settlement with Circle integration
  • Built-in refund and partial payment support
  • Cross-chain transfers via IBC

Enterprise Automation

  • Smart contract workflows
  • Automated fraud detection
  • Inventory management integration
  • Real-time webhook notifications

Global Scale

  • Sub-second transaction finality
  • Horizontal scaling — throughput grows by adding nodes
  • Multi-region data replication

📊 Order Lifecycle

Order States

💻 API Reference

Create Order

Request Body:
Response:

Pay Order

Request Body:
Response:

Get Order

Response:

List Orders

Query Parameters: Response:

🔄 Advanced Features

Bulk Order Operations

JS SDK support for bulk order operations has not shipped yet.

Subscription Orders

JS SDK support for subscription orders has not shipped yet.

Smart Contract Integration

Multi-Party Orders

📡 Webhooks & Events

Event Types

Webhook Configuration

Webhook payload example:

🔍 Analytics & Reporting

Order Analytics

Response:

Custom Reports

🛡️ Security & Compliance

Fraud Detection

PCI DSS Compliance

GDPR Compliance

🌍 Global Commerce Features

Multi-Currency Support

Cross-Border Tax Calculation

Regulatory Compliance

🔧 SDK Examples

Node.js / TypeScript

Python

Go

Rust

🚀 Performance & Scale

Benchmarks

Scaling Patterns

Caching Strategy

📈 Monitoring & Observability

Metrics

Health Checks

Response:

Cross-Chain Payment Integration

StateSet Orders module natively integrates with the CCTP module to enable seamless cross-chain USDC payments. Customers can pay for orders on any supported chain, and the funds are automatically transferred to StateSet for settlement.

Accepting Cross-Chain Payments

Automated Cross-Chain Settlement

Cross-Chain Refunds

Events

Additional events for cross-chain payments:
For detailed CCTP integration, see the CCTP Module documentation and Integration Guide.
Ready to get started? Create your first order →
Last modified on August 31, 2026