Chargeback & fraud protection
Protect your Stripe and PayPal Business accounts before checkout, during settlement, and after a dispute opens—with 3D Secure, customizable risk rules, automatic entitlement suspension, and compiled Chargeback Evidence Kits.
1. Pre-checkout fraud & velocity rules
Every live checkout enforces per-IP and per-store rate limits, mandatory Terms of Sale acceptance, and optional custom store risk rules (managed in Protection in the merchant console or via /v1/risk-rules):
block_email/block_domain/block_country: Reject abusive buyers before calling Stripe or PayPal.max_orders_per_email_24h: Cap repeat purchases from the same email in a rolling 24-hour window.high_value_review_minor: Flag orders above a configured minor-unit threshold withrisk_status = "review"so fulfilment is automatically held (fulfillment_status = "held") after settlement until you approve or refund.
curl -X POST https://api.copperpouch.com/v1/risk-rules \
-H "Authorization: Bearer $MERCHANT_TOKEN" \
-H "Content-Type: application/json" \
-d '{
"store_id": "'"$STORE_ID"'",
"name": "Hold orders over $250 for manual review",
"action": "review",
"match_conditions": { "type": "high_value_review_minor", "value": "25000" }
}'
2. Strong authentication & immutable consent proof
- Automatic 3D Secure (3DS): Stripe Checkout Sessions enable
request_three_d_secure: "automatic"and billing address collection so issuers authenticate risky cards and shift fraud liability where eligible. - Snapshot policy consent: Checkout locks the exact revision of your Terms of Sale and Refund Policy onto the order and records explicit buyer acceptance in
consent_recordsalong with a privacy-preserving SHA-256 hash of the buyer’s IP address and user-agent summary. - Clear billing descriptors: Because payments process directly on your own Stripe or PayPal account, buyers see your real business name on their statement—eliminating unrecognized-charge disputes.
3. Automatic access suspension & revocation
Verified Stripe (charge.dispute.*) and PayPal (CUSTOMER.DISPUTE.*) webhooks drive deterministic order state transitions:
- Open dispute: Order enters
disputedstatus; downloads and online licence checks suspend immediately while the dispute is reviewed. - Won dispute: Order returns to
paid(orpartially_refunded) and buyer access is restored automatically. - Lost chargeback or full refund: Order transitions to
charged_backorrefunded; download grants and online software licences are permanently revoked.
4. Compiled Chargeback Evidence Kits
Click Evidence kit on any order in the console (or call the API below) to compile an auditable JSON and plain-text representment packet combining order settlement IDs, policy consent records, virus-scanned download timestamps and SHA-256 checksums, software licence issuance and device activations, and support ticket history—and optionally push it straight to Stripe:
# Export a compiled Chargeback Evidence Kit for any order
curl "https://api.copperpouch.com/v1/orders/$ORDER_ID/dispute-evidence?environment=live" \
-H "Authorization: Bearer $MERCHANT_TOKEN"
# Save evidence notes and submit directly to your connected Stripe account
curl -X POST "https://api.copperpouch.com/v1/disputes/$DISPUTE_ID/evidence" \
-H "Authorization: Bearer $MERCHANT_TOKEN" \
-H "Content-Type: application/json" \
-d '{
"merchant_statement": "Buyer accepted our digital refund policy at checkout and activated the software license on macOS.",
"submit_to_stripe": true
}'