RideKit
Docs/Reference/US instant cash-out and the free weekly payout

US instant cash-out and the free weekly payout

Built: 2026-11-04.

This is for US operators, and for whoever maintains the code.

What drivers get

US drivers expect the model Uber and Lyft use:

  • Weekly. Every Tuesday the balance is paid for free.
  • Instant. A driver can cash out any time to a debit card, for a small fee. The default fee is $0.85.

In the driver app, under Wallet → Cash out now:

  • Weekly · Free or ⚡ Instant · $0.85 fee. The sheet shows the fee and what the driver receives before they confirm.
  • Send it to. The driver picks Debit card or Bank account. Instant cash-out only goes to a debit card.
  • Payout card.
    • Add debit card opens Stripe's own secure pages, where Stripe collects the driver's identity, tax details and card. The app and the platform never see the card number.
    • Afterwards the sheet shows the card, for example VISA •••• 4242 · Ready for instant cash-out.

How it works

Step What happens
Card setup POST /driver/payout-card/link opens a Stripe Connect Express account for the driver. It keeps the account id on the driver's profile (driver_profiles.stripe_account_id) and returns Stripe's onboarding link. GET /driver/payout-card reports whether Stripe can pay the driver yet, and the card's brand, last four digits and whether it supports instant payouts.
Instant request POST /payouts/request with speed: "instant" and beneficiary.method: "debit_card". The server always fills in the driver's own account; anything else the app sends is ignored. The instant fee is frozen on the request and the amount is held. The payout then goes out at once: a Stripe transfer to the driver's account, followed by an instant payout from that account to their card.
Standard request speed: "standard" has no fee. The request waits for payday.
Payday The weekly run pays every driver's balance, including drivers who set up a card but never withdrew. It then sends every waiting standard request that goes to a card as a transfer, and Stripe's own schedule moves that money on to the driver's bank. An admin can run this step early with POST /payouts/send-standard, which is audited. Withdrawals to a bank account stay in the operator's bank batch.
Settling The 10-minute reconcile sweep, or POST /payouts/reconcile on demand, reads the instant payout's state back from Stripe. A failed payout returns the money to the driver's wallet.

In the admin:

  • Instant withdrawals carry a ⚡ Instant badge in the payouts queue.
  • The settings are under Markets → (country) → When drivers are paid:
    • Drivers choose: free weekly or instant to a debit card;
    • the instant fee, as a flat amount plus a percentage.

Settings

Market config payouts:

Field US default Meaning
weeklyFloor, weekday true, 2 (Tuesday) The free weekly run.
chooseSpeed true Drivers choose between weekly and instant.
instantFeeFlatMinor 85 The flat instant fee, in cents.
instantFeeBps 0 The percentage instant fee, in basis points (150 means 1.5%).

Markets without chooseSpeed (Mexico, Brazil and the rest) keep their own rules and their market payout fee, unchanged.

Before launch:

  • The operator needs a Stripe account with Connect and Instant Payouts turned on. Set the Stripe secret key in Admin → Providers.
  • Run one test-mode transfer and instant payout to a Stripe test debit card.
  • Fee disclosure rules for earned-wage products differ by state. Confirm the fee and its wording with counsel.

Code

  • backend/src/payouts/payout-schedule.ts:

    • chooseSpeed and the instant fee fields;
    • withdrawalFee, which works out the fee.

    Spec: payout-schedule.spec.ts.

  • backend/src/payouts/providers/stripe-connect-payout.provider.ts: the transfer, the instant payout, and the status read-back.

  • backend/src/payouts/stripe-connect.service.ts: the Express account, the onboarding link, and the card status.

  • backend/src/payouts/payout.service.ts:

    • speed and fee on each request;
    • sendNowIfInstant;
    • sendStandardWithdrawals.
  • backend/src/payouts/payout-beneficiary.ts: the US debit_card method.

  • Migration 1700000201000-InstantCashout adds payout_requests.speed and driver_profiles.stripe_account_id.

  • Driver app: app/(app)/wallet.tsx (the speed buttons and payout-card) and src/lib/payout-fields.ts.

  • Admin:

    • components/markets/PayoutScheduleCard.tsx;
    • app/(dashboard)/payouts/page.tsx (payout-instant).
source: docs/us-instant-cashout.md (ships identically in the product zip)