Developers

A payment operations API you'll enjoy building on.

One versioned REST API for money movement, ledgering and accounts. Integer cents, idempotent writes, signed webhooks, and errors that tell you exactly what was wrong. Authenticate with a header and create a payment in four lines.

Authenticate

# tenant-scoped secret key in a header
curl https://api.digitaltreasury.com/v1/balances \
  -H "X-API-Key: dt_live_..."

Create a payment

POST /v1/payment-orders
Idempotency-Key: inv_8842_pay
{
  "direction": "Credit",
  "rail": "Ach",
  "amountCents": 250000,
  "counterpartyName": "Acme Carrier"
}
Built for integrators

The details that make an integration hold up.

๐Ÿ”

Idempotent by default

Every write takes an Idempotency-Key. Retry a timeout and get the same result โ€” never a duplicate. How it works โ†’

๐Ÿ””

Signed, durable webhooks

HMAC-signed, outbox-backed, at-least-once delivery with lossless secret rotation. Verify signatures โ†’

๐Ÿ’ต

Integer cents, typed rails

Money is never a float and a rail is never a bare string. The same request shape works for ACH and for USDC.

๐Ÿงพ

Read the ledger

Pending, posted and available balances plus full entry history per account โ€” reconciliation is a read, not a nightly job.

๐Ÿงช

A sandbox that behaves

Simulated rails settle and return like the real thing, and a built-in test-event sink lets you confirm your webhook endpoint before you go live.

๐Ÿ“•

OpenAPI & snippets

A versioned /v1 surface with an OpenAPI document and copy-paste snippets in cURL, C#, Python and Node.

Full API reference โ†’ Learn the concepts โ†’