Ledger

Stripe test mode

Journal

Every balance on the platform is a sum of these lines. Integer cents, USD in this sample. Corrections are reversing entries.

Prototype Preview this page's states for the build:

Debits

$14,806.44

20 entries, 48 lines

Credits

$14,806.44

Balance check

$0.00

Pass: Debits equal credits

20 journal entries, newest first
AccountDebitCreditActions
JE-10559 1 Dec 00:00:04. Plan renewal, 8 lessons with Lucía M. (separate charges and transfers)Sam Rivera. Source: evt_1QLz02 invoice.paidPass: Balanced
1010 Stripe clearing$199.58
2010 Student cash: lesson funds held$199.58
Entry total $199.58 = $199.58
JE-10544 29 Nov 16:50:31. Lesson 88190 auto-confirmed: tutor share available, commission recognised, processing fee recoveredBooking 88190. Jonas F. Source: job confirm-lessonsPass: Balanced
2020 Tutor payable: pending$24.30
2021 Tutor payable: available$24.30
2010 Student cash: lesson funds held$3.77
4010 Platform commission revenue$2.70
5011 Processing fees recovered from students$1.07
Entry total $28.07 = $28.07
JE-10538 29 Nov 11:02:15. Gift card GC-7H2K redeemed to wallet balanceMaya R. Source: api wallet.redeemPass: Balanced
2030 Gift-card liability$50.00
2011 Student cash: wallet balance$50.00
Entry total $50.00 = $50.00
JE-10531 29 Nov 09:14:09. Card fee on gift card GC-7H2KGuest buyer. Source: evt_1QKy71 balance_transactionPass: Balanced
5010 Processor fees: cards, currency conversion and payouts$1.81
1010 Stripe clearing$1.81
Entry total $1.81 = $1.81
JE-10530 29 Nov 09:14:08. Gift card GC-7H2K bought by a guest buyer for Maya R., $50.00 plus the processing feeGuest buyer. Source: evt_1QKy70 payment_intent.succeededPass: Balanced
1010 Stripe clearing$51.98
2030 Gift-card liability$50.00
5011 Processing fees recovered from students$1.98
Entry total $51.98 = $51.98
JE-10522 29 Nov 06:00:00. Expired rollover lesson from Joe M.'s September plan (00:00 in Mexico City): the 25-min lesson value goes to Lucía M. with no commission line, and its processing fee goes back to Joe M.'s balance as lesson creditLucía M. Source: job expire-rolloverPass: Balanced
2010 Student cash: lesson funds held$13.51
2021 Tutor payable: available$13.00
2011 Student cash: wallet balance$0.51
Entry total $13.51 = $13.51
JE-10509 28 Nov 18:50:00. Lesson with Carlos V. (her own student, invite link, no commission) finished on Zoom after the classroom failed: tutor share pending. No attendance record, so it confirms on the longer windowBooking 88151. Lucía M. Source: api lesson.markTaught (classroom fallback)Pass: Balanced
2010 Student cash: lesson funds held$24.00
2020 Tutor payable: pending$24.00
Entry total $24.00 = $24.00
JE-10503 28 Nov 16:50:31. Lesson 88190 completed: tutor share pendingBooking 88190. Jonas F. Source: classroom lesson.endedPass: Balanced
2010 Student cash: lesson funds held$24.30
2020 Tutor payable: pending$24.30
Entry total $24.30 = $24.30
JE-10483 28 Nov 14:04:38. Card fee on booking 88190Booking 88190. Noor A. Source: evt_1QJxA3 balance_transactionPass: Balanced
5010 Processor fees: cards, currency conversion and payouts$1.11
1010 Stripe clearing$1.11
Entry total $1.11 = $1.11
JE-10482 28 Nov 14:04:37. Destination charge on booking 88190: tutor share sent to Jonas F.'s Connect balance at charge. Payouts there are manual, so it waits until the lesson confirmsBooking 88190. Jonas F. Source: evt_1QJxA2 transfer_data (tr_1QJxA4)Pass: Balanced
1015 Tutor Connect balances: destination charges, payout held$24.30
1010 Stripe clearing$24.30
Entry total $24.30 = $24.30
JE-10481 28 Nov 14:04:37. Payment for booking 88190 (single lesson, destination charge)Booking 88190. Noor A. Source: evt_1QJxA2 payment_intent.succeededPass: Balanced
1010 Stripe clearing$28.07
2010 Student cash: lesson funds held$28.07
Entry total $28.07 = $28.07
JE-10466 28 Nov 09:10:44. Payoneer payout failed for Chidi E.: returned to available balanceChidi E. Source: payoneer PAYOUT_FAILED 99120344. Reverses JE-10402Pass: Balanced
1020 Tutor funds account (Wise, Payoneer, PayPal, dLocal)$142.60
2021 Tutor payable: available$142.60
Entry total $142.60 = $142.60
JE-10402 27 Nov 12:00:31. Weekly payout to Chidi E. via PayoneerChidi E. Source: batch 2026-W48Pass: Balanced
2021 Tutor payable: available$142.60
1020 Tutor funds account (Wise, Payoneer, PayPal, dLocal)$142.60
Entry total $142.60 = $142.60
JE-10398 27 Nov 12:00:22. Weekly payout to Grace T. via WiseGrace T. Source: batch 2026-W48Pass: Balanced
2021 Tutor payable: available$311.40
1020 Tutor funds account (Wise, Payoneer, PayPal, dLocal)$311.40
Entry total $311.40 = $311.40
JE-10391 27 Nov 12:00:05. Weekly payout to Lucía M. via Stripe Connect (transfer of plan and pack lessons held here). The Stripe Connect payout fee is taken from the amount sentLucía M. Source: batch 2026-W48 tr_1QKb…Pass: Balanced
2021 Tutor payable: available$282.39
1010 Stripe clearing$281.43
5012 Payout fees recovered from tutors$0.96
Entry total $282.39 = $282.39
JE-10380 27 Nov 11:30:00. Tutor funds account topped up for batch 2026-W48Platform. Source: treasury transferPass: Balanced
1020 Tutor funds account (Wise, Payoneer, PayPal, dLocal)$13,368
1010 Stripe clearing$13,368
Entry total $13,368 = $13,368
JE-10288 26 Nov 08:40:12. Card dispute opened on booking 88044Booking 88044. Erik S. Source: evt_1QM3c7 charge.dispute.createdPass: Balanced
1030 Disputed funds$27.03
1010 Stripe clearing$27.03
5020 Dispute fees$15.00
1010 Stripe clearing$15.00
Entry total $42.03 = $42.03
JE-10241 25 Nov 05:03:12. Refund settled for booking 88160Booking 88160. Mark B. Source: evt_1QKa91 charge.refundedPass: Balanced
2040 Refunds issued, not yet settled$24.95
1010 Stripe clearing$24.95
Entry total $24.95 = $24.95
JE-10240 25 Nov 05:02:50. Free cancellation on booking 88160: refund to card issuedBooking 88160. Mark B. Source: api booking.cancelPass: Balanced
2010 Student cash: lesson funds held$24.95
2040 Refunds issued, not yet settled$24.95
Entry total $24.95 = $24.95
JE-10236 24 Nov 15:15:02. Tutor no-show on booking 88145: full refund to balanceBooking 88145. Ruth A. Source: attendance tutor_no_showPass: Balanced
2010 Student cash: lesson funds held$20.79
2011 Student cash: wallet balance$20.79
Entry total $20.79 = $20.79

Trial balance for this filter

CodeAccountTypeDebitsCreditsNet
1010Stripe clearingAsset$279.63$13,743.63−$13,464debit balance
1015Tutor Connect balances: destination charges, payout heldAsset$24.30$0.00$24.30debit balance
1020Tutor funds account (Wise, Payoneer, PayPal, dLocal)Asset$13,510.60$454$13,056.60debit balance
1030Disputed fundsAsset$27.03$0.00$27.03debit balance
2010Student cash: lesson funds heldLiability$111.32$227.65$116.33credit balance
2011Student cash: wallet balanceLiability$0.00$71.30$71.30credit balance
2020Tutor payable: pendingLiability$24.30$48.30$24.00credit balance
2021Tutor payable: availableLiability$736.39$179.90−$556.49credit balance
2030Gift-card liabilityLiability$50.00$50.00$0.00credit balance
2040Refunds issued, not yet settledLiability$24.95$24.95$0.00credit balance
4010Platform commission revenueRevenue$0.00$2.70$2.70credit balance
5010Processor fees: cards, currency conversion and payoutsExpense$2.92$0.00$2.92debit balance
5011Processing fees recovered from studentsContra-expense$0.00$3.05$3.05credit balance
5012Payout fees recovered from tutorsContra-expense$0.00$0.96$0.96credit balance
5020Dispute feesExpense$15.00$0.00$15.00debit balance
Totals$14,806.44$14,806.44Balanced

Webhook event log

This week: 4,812 events processed, 37 duplicate deliveries skipped, 1 failing and retrying. Each event id is stored once; a repeat returns success without posting.

ReceivedProviderEvent idTypeStatusDetailJournal
1 Dec 09:58:20Stripeevt_1QN2bctransfer.reversedFailed, retryingNo matching transfer in the ledger yet. Attempt 3 of 8, next in 4 minutes.none
1 Dec 09:12:03Stripeevt_1QN1aaradar.early_fraud_warning.createdProcessedFlagged charge on booking 88301 for review. No posting.none
1 Dec 08:47:51Stripeevt_1QN0x9payment_intent.payment_failedProcessedCard declined (insufficient funds). Booking 88324 back to held.none
1 Dec 00:00:04Stripeevt_1QLz02invoice.paidProcessedPlan renewal, Sam Rivera.JE-10559
28 Nov 09:10:44Payoneer99120344PAYOUT_FAILEDProcessedAccount not approved. Payout reversed to available.JE-10466
28 Nov 14:05:12Stripeevt_1QJxA2payment_intent.succeededDuplicate, skippedAlready processed at 14:04:37. Returned 200.JE-10481
28 Nov 14:04:37Stripeevt_1QJxA2payment_intent.succeededProcessedBooking 88190 confirmed.JE-10481
27 Nov 12:41:09Wise784422119transfers#state-change: outgoing_payment_sentProcessedGrace T. payout sent.JE-10398
27 Nov 12:00:40Stripe Connectevt_1QKb55payout.paidProcessedLucía M. payout paid.JE-10391
26 Nov 08:41:30Stripeevt_1QM3c7charge.dispute.createdDuplicate, skippedAlready processed at 08:40:12. Returned 200.JE-10288
26 Nov 08:40:12Stripeevt_1QM3c7charge.dispute.createdProcessedDispute on booking 88044 opened.JE-10288
25 Nov 05:04:01Stripeevt_1QKa91charge.refundedDuplicate, skippedAlready processed at 05:03:12.JE-10241
25 Nov 05:03:12Stripeevt_1QKa91charge.refundedProcessedRefund on booking 88160 settled.JE-10241
Every Stripe and payout-rail event is stored by its event id with a unique constraint and processed once. A repeat returns success without posting again. Rule §14.1

Outbound payment calls

SentCallIdempotency keyResultStatus
1 Dec 09:40POST /v1/refundsrefund:bk_88177:partial:v1Not sent: waiting for admin decisionWaiting
27 Nov 12:00POST /v1/transferspayout:2026-W48:tut_1042tr_1QKb… $281.43 ($282.39 less the $0.96 Stripe Connect payout fee)Sent
27 Nov 12:00POST Wise /v3/profiles/…/transferspayout:2026-W48:tut_1090784422119 $311.40Sent
27 Nov 12:03POST Wise /v3/profiles/…/transferspayout:2026-W48:tut_1090Retry after timeout: Wise returned the original transfer 784422119. No second payout.Replayed
25 Nov 05:02POST /v1/refundsrefund:bk_88160:full:v1re_3QKa… $24.95Sent
28 Nov 14:03POST /v1/payment_intentscheckout:bk_88190:v1pi_3QJx…7Lk $28.07, transfer_data to Jonas F.'s Connect accountSent
Every outbound payment call carries an idempotency key. Rule §14.1

Chart of accounts

CodeAccountType
1010Stripe clearingAsset
1015Tutor Connect balances: destination charges, payout heldAsset
1020Tutor funds account (Wise, Payoneer, PayPal, dLocal)Asset
1030Disputed fundsAsset
2010Student cash: lesson funds heldLiability
2011Student cash: wallet balanceLiability
2020Tutor payable: pendingLiability
2021Tutor payable: availableLiability
2030Gift-card liabilityLiability
2040Refunds issued, not yet settledLiability
4010Platform commission revenueRevenue
5010Processor fees: cards, currency conversion and payoutsExpense
5011Processing fees recovered from studentsContra-expense
5012Payout fees recovered from tutorsContra-expense
5020Dispute feesExpense

Money code rules

All money is stored in integer cents and every balance change is a double-entry ledger record. Rule §14.1
Each journal entry's debits equal its credits and is written in one database transaction. Balances are summed from entries, never edited directly. Rule §14.1, 14.5 step 21
A wrong entry is corrected with a reversing entry. Entries are never edited or deleted. Rule §14.1
We are merchant of record: every student payment is collected on our platform Stripe account. Rule §17.1
Packs and plans use separate charges and transfers; single lessons use destination charges. on_behalf_of is never used. Rule §17.1
Prepaid lesson money stays in our Stripe balance and is tracked lesson by lesson in the ledger until it is released. Rule §17.1
A lesson taught in our classroom confirms automatically 24 hours after it ends unless the student reports a problem. Then the tutor's share becomes available.
Decision needed

Report gives 24–72 h.

Rule §14.5 step 22, 17.1
Every wallet movement (credit, refund to balance, gift-card redemption, spend) is a ledger entry. Rule §14.5 step 21
If a rolled-over lesson finally expires, its value goes to the tutor, not to us. Rule §12.2, 15.4 #2
We take 0% commission on expired lesson value, so all of it goes to the tutor.
Decision needed

PRC-20. Suggested 0%.

Rule §12.2
If a lesson expires unused, the processing fee paid on it goes back to the payer's balance as lesson credit.
Decision needed

Processing fee on an expired lesson. The revised report does not say. Kept as before until the owner decides.

Rule §12.2, 15.4 #2
Credits and gift-card balances can be spent on lessons only and are never paid out as cash. Rule §17.4, 15.4 #24
Money held outside Stripe for payouts (Wise, Payoneer, PayPal, dLocal) sits in a separate tutor-funds account with its own ledger. Rule §17.5
Earned money is never confiscated, including when an account is suspended. Rule §15.4 #13

Ledger corrections log

WhenAdminActionTargetReason and noteChange
5 Oct 12:00 Ruth OkaforPosted reversing entryJE-09012 (duplicate fee line)Correction
Reversed with JE-09013. No balances edited.
No change recorded
Prototype mapAccess