Skip to content

feat(finance): payment market breakdown skill - #117

Open
bendaley wants to merge 1 commit into
Fluid-WeCommerce:mainfrom
bendaley:ben/payment-market-breakdown
Open

feat(finance): payment market breakdown skill#117
bendaley wants to merge 1 commit into
Fluid-WeCommerce:mainfrom
bendaley:ben/payment-market-breakdown

Conversation

@bendaley

Copy link
Copy Markdown
Contributor

What this skill does

Analyzes payment performance by market and card type using only the Fluid payments API. No database, no cloud-sql-proxy — just fluid switch <Company> and run.

Job to be done: "Show me where my payment performance breaks down by market and card type, quantify the blocked revenue, and tell me what to do about it."

Output

  • Overall approval rate, blocked revenue, refund rate
  • Per-group table: currency × card_network × country with approval %, blocked revenue in local currency
  • Flagged combos (approval < 80% or >10% of total blocked revenue) with a specific recommendation per combo
  • Expansion callout: what this report could show with order + subscription linkage

Why it's differentiated from company-payment-report

company-payment-report does individual decline forensics (ISO codes, AVS/CVV, issuer names) from the production DB. This skill answers a different question: which card × market combinations are systematically underperforming, and what is that costing? It's a strategy question, not a support ticket.

What I'd add with proper order + subscription linkage

  • Which products have the highest payment failure rates (high-value items declining more suggests a fraud filter, not a card problem)
  • Subscription MRR sitting on underperforming card types — quantify churn risk before it happens
  • Customer LTV by card type and market — if Amex customers are worth 2x, their approval rate is worth optimizing
  • Retry success rate — of declined transactions, which were later recovered via dunning

How to verify

fluid switch "<Company>"
# run /payment-market-breakdown in Mist
# run /payment-market-breakdown days=7 min_txns=2

🤖 Generated with Claude Code

Surfaces underperforming card-type × market combos using the Fluid
payments API — no DB or cloud-sql-proxy required. Quantifies blocked
revenue per group, flags combos below 80% approval, and gives
actionable recommendations per market.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant