Skip to main content

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.

The giftcards module sells and redeems digital gift cards. A gift card is an account with a unique code and a balance; customers redeem at checkout in lieu of (or alongside) other payment. Balance is tracked per code with full transaction history. Source: modules/giftcards · npm: @86d-app/giftcards

Installation

86d module add giftcards

Store endpoints

MethodPathDescription
POST/giftcards/balanceCheck balance for a code
POST/giftcards/redeemRedeem at checkout
POST/giftcards/purchasePurchase a new gift card

Admin endpoints

MethodPathDescription
GET/admin/giftcardsList gift cards
POST/admin/giftcards/issueManually issue (with reason)