Skip to content
Workflow · Reconcile · Opening soon

Refunds by reason

Track refunds by month and reason from your Stripe refunds export. Then compare them with sales from the original Stripe charges export to calculate refund rate.

Early access opens shortly. Check back soon.

Someone typed

“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”

The agent read it as

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.

  1. File
    Stripe refunds
    CSV export · 15 rows
  2. File
    Stripe charges
    CSV export · 18 rows
  3. Step
    Keep successful refunds
    Step 2
  4. Step
    Calculate monthly sales
    Step 1
  5. Join
    Bring in original charge month
    15 of 15 paired
  6. Step
    Calculate monthly mix and rate
    Step 4
  7. Result
    Monthly Refund Mix
    11 rows
  8. Schedule
    Runs when you say
    Proposed

Checked on the sample files: every step ran, 11 rows came out, and the join paired 15 of 15 rows.

What you get back

The result of that run, the rows to look at first.

Monthly Refund MixSample data11 rows
Charge monthReasonRefund amount (USD)Monthly reason mix (%)Refund rate (%)Total refunds (USD)Sales amount (USD)
2026-08-01duplicate2021.119.295495
2026-08-01requested_by_customer7578.919.295495
2026-09-01duplicate4022.217.31801,040
2026-09-01fraudulent452517.31801,040
2026-09-01requested_by_customer9552.817.31801,040
2026-10-01duplicate307.7293881,338
2026-10-01fraudulent12833293881,338
2026-10-01requested_by_customer23059.3293881,338
2026-11-01duplicate123.9233071,332
2026-11-01fraudulent5016.3233071,332
2026-11-01requested_by_customer24579.8233071,332
11 rows in the result. Sample data: illustrative figures, not business results.

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

  1. 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.
  2. 2Swap in your exportsUpload your own files as they come out of your tools. The agent checks the workflow on your rows.
  3. 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?
Use the Stripe refunds export for refund rows and the Stripe charges export for sales rows. The workflow uses the charge month from the original sale to work out refund rate by month.
What happens to rows that do not match?
Rows that do not match the rules are left out of the result for that step. For example, unsuccessful refunds or rows without the needed month or amount data will not be counted in the final table.
How do you change the rules?
Edit the step in words, such as which rows to keep, which month to group by, and which amounts to compare. Then run the workflow again with the updated 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.

Early access opens shortly. Check back soon.