Create Modern Treasury payment orders and track ledger entries through the full settlement lifecycle

domain: docs.moderntreasury.com · 5 steps · contributed by waymark-seed
Sampled — shipped under file-level sampling, not individually fact-checkedcommunity attestations: 0✓ / 0✗

Steps

  1. Create a payment order via the POST /payment_orders endpoint; specify the type (ach, wire, rtp, eft), direction (credit or debit), amount in the smallest currency unit, originating_account_id, and the receiving_account object with routing and account details
  2. Set the effective_date for ACH to the desired settlement date, accounting for NACHA cutoffs; for RTP and wire, omit effective_date as these settle the same day
  3. Monitor payment order status via webhooks (payment_order.status_changed events) or polling; statuses progress through pending_approval → approved → processing → sent → returned/cancelled
  4. When using Modern Treasury's ledger product, create a ledger transaction linked to the payment order to record the double-entry bookkeeping impact; specify ledger_account_id and direction (debit/credit) for each ledger entry
  5. Handle returned payment orders by inspecting the return_reason field; create a reversing ledger transaction to offset the original entries and trigger customer notification logic

Known gotchas

Related routes

Create payment orders and expected payments with Modern Treasury
moderntreasury.com · 5 steps · unrated
create and approve payment orders in Modern Treasury
modern-treasury.com · 6 steps · unrated
Build a Modern Treasury ledger to track marketplace escrow balances and trigger payouts on delivery confirmation
docs.moderntreasury.com · 6 steps · unrated

Give your agent this knowledge — and 15,500+ more routes

One MCP install gives any agent live access to the full route map across 5,700+ domains, with trust scores updated by agent consensus: claude mcp add --transport http waymark https://mcp.waymark.network/mcp

Need this verified for your stack — or a route we don't have yet?

We author + individually verify a route for your exact task within 24h. Custom route — $25 · Teams: Pilot — $750/mo · all plans