API Reference
Complete endpoint reference for the APISettle REST API. All endpoints use the base URL https://api.apisettle.com.
Conventions
- • All request and response bodies are JSON.
- • Monetary amounts are strings in USDC micro-units (1 USDC = 1,000,000).
- • Timestamps are ISO 8601 UTC.
- •
List endpoints support cursor pagination via
cursorandlimitquery params. - •
Errors return
{ "error": { "code": "...", "message": "..." } }.
Settlements
Guide →Core payment flow: quote, settle, redeem.
| Method | Path |
|---|---|
| POST | /v1/quote |
| POST | /v1/settle |
| POST | /v1/settlements/:id/redeem |
| POST | /v1/settlements/:id/verify |
| GET | /v1/settlements/:id |
| GET | /v1/settlements |
Services
Guide →Vendor projects with API keys and pricing.
| Method | Path |
|---|---|
| POST | /v1/services |
| GET | /v1/services |
| GET | /v1/services/:id |
| PATCH | /v1/services/:id |
| DELETE | /v1/services/:id |
| POST | /v1/services/:id/key/rotate |
| POST | /v1/services/:id/key/reveal |
| POST | /v1/services/:id/key/reveal/verify |
Wallets
Guide →Wallet provisioning, delegation, and recovery.
| Method | Path |
|---|---|
| POST | /v1/wallets |
| POST | /v1/wallets/provision |
| GET | /v1/wallets |
| POST | /v1/wallets/:id/onboarding |
| POST | /v1/wallets/:id/delegate |
| POST | /v1/wallets/:id/revoke |
Deposits
Guide →Fiat on-ramp via Coinbase or Transak.
| Method | Path |
|---|---|
| POST | /v1/deposits/fiat |
| GET | /v1/deposits |
| GET | /v1/deposits/:id |
Withdrawals
User-approved withdrawals from wallets.
| Method | Path |
|---|---|
| POST | /v1/withdrawals |
| POST | /v1/withdrawals/:id/approve |
| POST | /v1/withdrawals/:id/cancel |
| GET | /v1/withdrawals/:id |
| GET | /v1/withdrawals |
Refunds
Guide →Vendor-initiated non-custodial refunds.
| Method | Path |
|---|---|
| POST | /v1/refunds |
| POST | /v1/refunds/:id/submit |
| POST | /v1/refunds/:id/cancel |
| GET | /v1/refunds/:id |
| GET | /v1/refunds |
Delegates
Guide →Machine-to-machine keys with spending limits.
| Method | Path |
|---|---|
| POST | /v1/delegates |
| GET | /v1/delegates |
| GET | /v1/delegates/:id |
| GET | /v1/delegates/me |
| PATCH | /v1/delegates/:id |
| DELETE | /v1/delegates/:id |
| POST | /v1/delegates/:id/key/rotate |
| POST | /v1/delegates/:id/key/reveal |
| POST | /v1/delegates/:id/key/reveal/verify |
Accounts
Account management and settings.
| Method | Path |
|---|---|
| POST | /v1/accounts |
| GET | /v1/accounts/me |
| GET | /v1/accounts/me/settings |
| PATCH | /v1/accounts/me/settings |
Authentication
Guide →Magic link and passkey auth flows.
| Method | Path |
|---|---|
| POST | /v1/auth/magic-link |
| POST | /v1/auth/magic-link/verify |
| POST | /v1/auth/passkey/register/options |
| POST | /v1/auth/passkey/register/verify |
| POST | /v1/auth/passkey/login/options |
| POST | /v1/auth/passkey/login/verify |
| POST | /v1/auth/refresh |
| POST | /v1/auth/logout |
Other
Transactions, spending summary, and health.
| Method | Path |
|---|---|
| GET | /v1/transactions |
| GET | /v1/spending/summary |
| GET | /v1/health |
| GET | /v1/health/ready |
| POST | /v1/dev/fund |
Common error codes
| HTTP | Code | Meaning |
|---|---|---|
| 400 | validation_error | Invalid request body or parameters. |
| 401 | unauthorized | Missing or invalid authentication. |
| 402 | payment_required | Payment needed. Response includes quote token. |
| 403 | forbidden | Authenticated but not authorized for this resource. |
| 404 | not_found | Resource doesn't exist. |
| 409 | conflict | Resource already exists or state conflict. |
| 410 | quote_expired | Quote has passed its expiry window. |
| 410 | settlement_expired | Settlement redeem window has elapsed. |
| 429 | rate_limited | Too many requests. Back off and retry. |