The store-credits module manages a credit balance per customer. Admins issue or revoke credit; customers can apply available credit at checkout in lieu of payment. Every credit change is recorded with reason and source, and the running balance never goes negative. Source:Documentation Index
Fetch the complete documentation index at: https://86d.app/docs/llms.txt
Use this file to discover all available pages before exploring further.
modules/store-credits · npm: @86d-app/store-credits
Installation
Store endpoints
| Method | Path | Description |
|---|---|---|
GET | /store-credits/me/balance | Current balance |
GET | /store-credits/me/transactions | Credit history |
POST | /store-credits/me/apply | Apply credit at checkout |
Admin endpoints
| Method | Path | Description |
|---|---|---|
POST | /admin/store-credits/:customerId/issue | Add credit |
POST | /admin/store-credits/:customerId/revoke | Subtract credit |
GET | /admin/store-credits/:customerId | Detail with history |

