Test modeDucat runs on Stripe's test mode for now, so no real card is charged.

Changelog

What's new in Ducat

Every change a customer would notice, newest first, from the git history of Ducat's repository. Each entry names the commits it sums up.

Site

ducatpay.dev sells Growth through Ducat

  • The console's Billing tab buys the Growth plan through Ducat's own checkout, in test mode, and switches it on from the subscription.
  • Plan status, cancel at the period's end and undo, invoices, and Ducat's own customer portal on the Billing tab.

Commits 860a7c6, cc2d6cb, 105816b

New

Webhooks to your own endpoint

  • PUT /v1/webhook-endpoint: every event pushed to your URL, signed with Ducat-Signature, in order, at least once, with retries backing off to a day.
  • A checkout, subscription or plan change sells only your own prices: another team's answers 404.

Commits 6086487

New

Sign-up, teams and API keys

  • ducatpay.dev: sign up and Ducat makes your team; invite people as owners, admins or members.
  • Each team makes its own test-mode API keys, and every key of a team sees the same data.
  • The selling guide, walked step by step by Ducat's own tests.

Commits ad7ac95, 703b866, 50bcf87, 285d959, 48b5417

Improved

Checkout: paid status, expiring sessions, inline prices

  • Checkout sessions pass on Stripe's payment_status, so a bank debit still clearing isn't taken as paid.
  • An open checkout session can be expired, so a cancelled order can't be paid.
  • Checkout at inline prices (price_data), in test mode only.

Commits 2aa0a1f, a2386f9, e775af1

New

Ducat's own customer portal

  • An hour's link per customer: switch to the plans you offer (with a preview), cancel at the period's end and undo.
  • Replace the card on Stripe's page, change any item's seats up to your maximum, set the billing address and tax IDs, apply a promotion code.

Commits 10ab1ef, 5361e82, d00249a, 3daf17b, f77c37b

Improved

Your customer list, complete

  • A customer is listed as soon as an event shows it's yours, and a backfill finds the ones no event has shown.

Commits f307926, 93876f7

New

Customers screens and card issuing from the portal

  • GET /v1/customers lists your own customers, oldest first.
  • Who paid what, and one customer with Refund in place, on Ducat's customers screens.
  • Issue an agent's card and add memos to its purchases from the screens.

Commits 02967ff, 96d0cc2, 056fb9c, c030302

Improved

Several items per subscription; delay days on payouts

  • A subscription takes several prices and can change its billing interval, previewed like any plan change.
  • Billing previews use Stripe's Create Preview Invoice, so a newer Stripe API won't break them.
  • Seller payout schedules take delay_days.

Commits 3409c5c, 930a08e, 691f47c

New

Receipts for agent cards

  • Memos and receipts on card purchases, and a CSV export for accounting.
  • A card can require a receipt above an amount, and list the purchases still owing one.
  • A Stripe Issuing client, with Stripe's own monthly limit as a backstop.

Commits a8f9d64, 93d8e3e, c69c1a3

New

Tax, credit notes and marketplace payouts

  • Tax through Stripe Tax for teams that turn it on; Ducat is not a merchant of record.
  • Tax on saved-card charges, its reversal on refunds, and credit notes on invoices.
  • Marketplace payouts on Stripe Connect: sellers, onboarding, destination charges with your fee, payouts.
  • A refund of a seller's sale takes it back from the seller, and the fee in proportion.

Commits 81c5bb6, 41f4c45, 719199e, c28bd5d

New

Billing: plan changes, trials, usage and dunning

  • Plan changes with proration and a preview, trials, coupons and promotion codes, invoices, the customer portal.
  • Usage-based billing on Stripe Billing Meters, failed-payment lists, and payment links.

Commits ea41a2f, dd5a380, b03c0a3

Fixed

A security review, fixed

  • An empty webhook signing secret no longer accepts events anyone could sign.
  • One team can't get another's object back by reusing an Idempotency-Key, silence another's usage report, or use another's promotion code.
  • An agent can't get a card details key; a purchase can't overflow the day's and month's spend check.
  • An approval is no longer spent on a request that was then refused.
  • Three-decimal currencies, and limits in zero-decimal ones, show the right amounts.

Commits f176aa8, 06e9f53, d3977ac, 26ef303, 9c204de, 3df1fd4, 0dbe98c, 54cc33c, d336344, 96d27f4

New

Ducat begins

  • Stripe behind a small API: customers, checkout, subscriptions, charges, refunds and events, each team seeing only its own.
  • A person's nod for any charge or refund past the standing limits.
  • Virtual cards for agents, with rules, a nod past them, and a number no agent sees.
  • An MCP server for agents.

Commits 80b103d, 822415d, c77e2b0

Start building in test mode

Sign up, make a key, and take a test payment in a few minutes. No card needed.