Sardis

API Reference

Complete REST API reference for the Sardis Payment OS. 47+ endpoints covering wallets, payments, mandates, treasury, cards, compliance, and more.

Base URL

https://api.sardis.sh/api/v2

Authentication

All API requests require an API key in the Authorization header:

curl -H "Authorization: Bearer sk_..." https://api.sardis.sh/api/v2/wallets

Endpoints

Wallets

MethodPathDescription
POST/walletsCreate a new MPC wallet
GET/walletsList all wallets
GET/wallets/{id}Get wallet details
GET/wallets/{id}/balanceGet wallet balance
PATCH/wallets/{id}/policyUpdate spending policy
DELETE/wallets/{id}Archive wallet

Payments

MethodPathDescription
POST/payments/executeExecute a payment
POST/payments/mandateExecute via spending mandate
GET/payments/{id}Get payment details
GET/paymentsList payments

Spending Mandates

MethodPathDescription
POST/mandatesCreate a spending mandate
GET/mandatesList mandates
GET/mandates/{id}Get mandate details
POST/mandates/{id}/checkCheck transaction against mandate
POST/mandates/{id}/revokeRevoke mandate

Treasury

MethodPathDescription
POST/treasury/fundFund from bank account (ACH)
POST/treasury/withdrawWithdraw to bank account
GET/treasury/balancesGet treasury balances
POST/treasury/external-bank-accountsLink external bank account
POST/treasury/account-holders/syncSync financial accounts

Virtual Cards

MethodPathDescription
POST/cardsIssue virtual card
GET/cardsList cards
GET/cards/{id}Get card details
POST/cards/{id}/freezeFreeze card
POST/cards/{id}/cancelCancel card

Compliance

MethodPathDescription
POST/compliance/screenScreen address/merchant
GET/compliance/{id}Get screening result

Audit

MethodPathDescription
GET/audit/eventsList audit events
GET/audit/events/{id}Get audit event details

Error Codes

CodeDescription
400Bad request — invalid parameters
401Unauthorized — invalid or missing API key
403Forbidden — insufficient permissions
404Not found
409Conflict — duplicate idempotency key
422Policy violation — transaction blocked by spending policy
429Rate limited
500Internal server error

Rate Limits

PlanRequests/minute
Free60
Growth600
EnterpriseCustom

Rate limit headers are included in every response:

X-RateLimit-Limit: 60
X-RateLimit-Remaining: 58
X-RateLimit-Reset: 1711234567

Interactive API Docs

The full OpenAPI spec with interactive playground is available at:

https://api.sardis.sh/api/v2/docs