prepaid-credits
Adds prepaid credits or a credit balance to an app: purchases, usage drawn from the balance, promo credits, refunds and expiry, with no double spending under concurrent requests or retried webhooks. Use when a user buys credits or spends a balance that has money behind it.
Pinned to revision 02113cb46dd9, so it is the text this page describes rather than whatever the author pushed since.
Files
Every link opens the file at its source, pinned to the revision this page describes.