stripe-refund-auditor

Community

Audit Stripe refunds for anomalies fast.

Authoranton-abyzov
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Audits Stripe refunds over a date range to surface anomalies such as refund-rate spikes, missing reasons, and duplicate refunds, and emits a markdown report.

Core Features & Use Cases

  • Pull refunds from Stripe over a date window using scripts/audit.py to generate a per-refund JSON record.
  • Use scripts/grader.py to compute a deterministic anomaly score and produce an anomalies list with an overall score.
  • Render a human-readable markdown report focusing on the highest-scoring anomalies, including id, amount, currency, status, and reason.
  • Preflight and integration checks ensure STRIPE_API_KEY availability and safe operation in test mode.

Quick Start

Run python3 scripts/audit.py --since "YYYY-MM-DD" --until "YYYY-MM-DD" to generate refunds.jsonl, then run python3 scripts/grader.py refunds.jsonl to produce the anomaly report.

Dependency Matrix

Required Modules

stripe

Components

scriptsreferences

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: stripe-refund-auditor
Download link: https://github.com/anton-abyzov/vskill/archive/main.zip#stripe-refund-auditor

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 510,000+ vetted skills library on demand.