Complete reference documentation for all StateSet Commerce APIs
POST /stablecoin/issue
POST /stablecoin/redeem
POST /stablecoin/transfer
GET /stablecoin/balance
POST /payments/create
GET /payments/{id}
POST /payments/refund
GET /payments/list
POST /orders/create
PATCH /orders/{id}
POST /orders/{id}/fulfill
GET /orders/list
POST /finance/invoices/factor
POST /finance/po/finance
POST /finance/loans/create
GET /finance/options
POST /agents/create
POST /agents/{id}/execute
GET /agents/{id}/activity
PATCH /agents/{id}/config
POST /global/orders/create
POST /global/compliance/check
GET /global/tax/calculate
POST /global/shipping/quote
Parameter | Type | Description | Default |
---|---|---|---|
limit | integer | Number of records to return | 10 |
starting_after | string | Cursor for pagination | null |
ending_before | string | Cursor for reverse pagination | null |
Header | Required | Description |
---|---|---|
Authorization | Yes | Bearer token with your API key |
Content-Type | Yes* | application/json for POST/PUT/PATCH |
Idempotency-Key | No | Unique key for safe retries |
X-Account-Id | No | Act on behalf of a connected account |
Plan | Requests/Second | Daily Limit | Burst |
---|---|---|---|
Free | 10 | 1,000 | 20 |
Starter | 100 | 100,000 | 200 |
Growth | 1,000 | 10,000,000 | 2,000 |
Enterprise | Custom | Custom | Custom |
Key Type | Prefix | Usage |
---|---|---|
Secret | sk_test_ / sk_live_ | Server-side only |
Public | pk_test_ / pk_live_ | Client-side safe |
Restricted | rk_test_ / rk_live_ | Limited permissions |
Resource | Test ID Format | Example |
---|---|---|
Customer | cust_test_* | cust_test_123 |
Payment | pay_test_* | pay_test_456 |
Order | ord_test_* | ord_test_789 |