RideKit
Docs/Reference/Wallet vouchers and sending money to a friend

Wallet vouchers and sending money to a friend

Built: 2026-11-02. Written for operators and for whoever maintains the code.

Two Gulf habits:

  • Vouchers: codes sold in shops and kiosks (or given away by partners) that a rider types into the wallet;
  • Sending to a friend: a rider sends wallet money to another rider by phone number.

Vouchers

Admin → Wallet vouchers → New batch (needs promo.manage):

  • a name, the value per code, how many codes (1 to 10,000) and an optional expiry;
  • the codes are made at once, look like 29HQ-4DZH-FCHM, and use letters and digits that can't be misread (no 0/O or 1/I/L);
  • they are shown once. Download the CSV before closing the window. Only a fingerprint (hash) of each code is stored, so nobody — not even an admin — can read them again;
  • Withdraw stops a batch's unused codes working. Codes already redeemed stay redeemed.

The list shows each batch's value, how many codes were redeemed and for how much, the expiry, and its state (live, expired, withdrawn).

The rider: Wallet → Redeem voucher → type the code (spaces, dashes and lower case are fine) → Redeem. The value goes into the wallet at once.

  • A code works once. Two phones redeeming the same card at the same moment get it once.
  • Clear refusals for a wrong code, a used code, a withdrawn batch, an expired code, or a code from another country.
  • 10 tries per 10 minutes per rider, so codes can't be guessed.

Money: a redemption moves the value from the voucher clearing account to the rider's wallet (ledger reason voucher_topup). The clearing account going negative is what the operator owes against the cash it took selling the cards. Reconcile it with the shops' sales.

Sending to a friend

The rider: Wallet → Send to a friend:

  1. The screen first says how much they can send now, and the rules.
  2. They type the friend's number (the market's country code is filled in) and tap Find rider. The app shows a name hint such as "Sa*** A." so they can check it's the right person before any money moves.
  3. Amount, an optional note, then Send SAR 20.00 to Sa* A.** The friend gets a push: "Priya sent you SAR 20.00", with the note.

Rules:

  • Only money the rider paid in can be sent. Promotional credit received in the last 90 days (promo credit, cashback, referral bonus) stays in the wallet for rides, so promotions can't be harvested by passing them around.
  • Limits per transfer and per day, set per market: walletTransfers { enabled, maxPerTransferMinor, maxPerDayMinor }. On in Saudi Arabia and the UAE by default (500 / 1,000 in the local currency), off elsewhere.
  • The recipient must be an active rider. Riders can't send to themselves.
  • A retried send (same request key) happens once.
  • Look-ups and sends are rate-limited, so the number lookup can't be used to list who rides with you.

Money: sender's wallet debited, recipient's credited, one ledger entry (wallet_transfer). The sender's wallet never goes below zero for it.

Admin → Wallet vouchers → Transfers between riders (needs report.view): who sent what to whom, when, with the note. Exportable to CSV.

Also fixed while building this

  • The wallet's payment methods ("Wallet balance", "Cards", "Cash"…) are now translated; brand names (UPI, Pix, M-Pesa) stay as they are.
  • Transaction rows whose description the server writes in English ("Subscription: RideKit Plus") now show in the rider's language.

Stored value and person-to-person transfers can fall under payment regulation (SAMA in Saudi Arabia, the Central Bank in the UAE). The limits are configuration. Confirm with your payments counsel what is allowed for a closed-loop ride wallet before switching transfers on.

source: docs/wallet-vouchers-transfers.md (ships identically in the product zip)