Refunds by reason
“show refunds by month and reason from the stripe refunds, and refund rate using sales from the original stripe charges month; include the monthly reason mix and the refund rate”
Show refunds by month and reason from the Stripe refunds, and refund rate using sales from the original Stripe charges month; include the monthly reason mix and the refund rate, grouping by original charge month and calculating refund amount / sales amount.
What the agent built
4 steps, each one an ordinary Mammoth step you can open and change.
- FileStripe refundsCSV export · 15 rows
- FileStripe chargesCSV export · 18 rows
- StepKeep successful refundsStep 2
- StepCalculate monthly salesStep 1
- JoinBring in original charge month15 of 15 paired
- StepCalculate monthly mix and rateStep 4
- ResultMonthly Refund Mix11 rows
- ScheduleRuns when you sayProposed
Checked on the sample files: every step ran, 11 rows came out, and the join paired 15 of 15 rows.
- Download Stripe refunds sample (15 rows)Stripe: Payments > Refunds > Export
- Download Stripe charges sample (18 rows)Stripe: Payments > All payments > Export
What you get back
The result of that run, the rows to look at first.
| Charge month | Reason | Refund amount (USD) | Monthly reason mix (%) | Refund rate (%) | Total refunds (USD) | Sales amount (USD) |
|---|---|---|---|---|---|---|
| 2026-08-01 | duplicate | 20 | 21.1 | 19.2 | 95 | 495 |
| 2026-08-01 | requested_by_customer | 75 | 78.9 | 19.2 | 95 | 495 |
| 2026-09-01 | duplicate | 40 | 22.2 | 17.3 | 180 | 1,040 |
| 2026-09-01 | fraudulent | 45 | 25 | 17.3 | 180 | 1,040 |
| 2026-09-01 | requested_by_customer | 95 | 52.8 | 17.3 | 180 | 1,040 |
| 2026-10-01 | duplicate | 30 | 7.7 | 29 | 388 | 1,338 |
| 2026-10-01 | fraudulent | 128 | 33 | 29 | 388 | 1,338 |
| 2026-10-01 | requested_by_customer | 230 | 59.3 | 29 | 388 | 1,338 |
| 2026-11-01 | duplicate | 12 | 3.9 | 23 | 307 | 1,332 |
| 2026-11-01 | fraudulent | 50 | 16.3 | 23 | 307 | 1,332 |
| 2026-11-01 | requested_by_customer | 245 | 79.8 | 23 | 307 | 1,332 |
How do you analyse refunds by reason?
Export your Stripe refunds and Stripe charges as files, then upload them to Mammoth. The workflow keeps successful refunds, links each refund to the original charge month, and calculates monthly refund mix and refund rate as refund amount divided by sales amount.
How it works
How to use the Monthly Refund Mix workflow
- 1Get early accessWe invite people in small batches, job by job. You'll land on this workflow, already built and checked on the sample files.
- 2Swap in your exportsUpload your own files as they come out of your tools. The agent checks the workflow on your rows.
- 3Change it in words, then turn it onSay what to change and see the new result before anything saves. Then choose when it runs.
Monthly Refund Mix: questions
Which export file should you use?
What happens to rows that do not match?
How do you change the rules?
Get early access to this workflow
It will open already built and checked on the sample files. Swap in your own exports and see your result.
Workflows like this
Match two sets of records line by line, and see what agrees, what differs and what is missing on either side.
- Bank reconciliationEvery line matched, flagged for a date check, or missing from one sideSee the workflow Template
- Payment reconciliationEach payout matched to its bank deposit, flagged for a date check, or missingSee the workflow Template
- Cash reconciliationEach day's takings matched to a bank deposit, or flagged as not bankedSee the workflow Template
- Payment processing fees by methodTrack payment processing fees by method each month, total sales and fees, and flag fee rates that are too high.See the workflow Built by the agent
- Three-way matchEach PO line: matched, partly received, billed more than received, or price differsSee the workflow Template
- Invoice reconciliationEach invoice paid in full, part-paid, overpaid or not paid, and payments with no invoiceSee the workflow Template