stripe-list-pagination-previous-attributes

Installation
SKILL.md

Quick Reference

Field Semantic
event.data.previous_attributes ONLY the fields that changed; diff the current object against this
event.data.previous_attributes.amount_refunded Previous cumulative refund total — subtract from charge.amount_refunded for per-event delta
charge.amount_refunded CUMULATIVE across all refunds, NEVER per-event
invoice.lines.has_more true -> embedded data is page 1; paginate with starting_after
invoice.lines.data.at(-1).id The cursor for starting_after on the next page
stripe.invoices.listLineItems(invoice.id, { starting_after }) Resumes AFTER the cursor — does NOT re-scan page 1

When to Use This Skill

Use whenever:

  • You read an embedded .data[] array from a Stripe object and might need to paginate
  • You compute a "what changed" delta from a webhook event
  • You resolve a plan / SKU / entitlement from invoice line items or subscription items
Installs
47
GitHub Stars
47
First Seen
May 21, 2026
stripe-list-pagination-previous-attributes — josiahsiegel/claude-plugin-marketplace