post
https://api.trifft.io/v1/gift-card
Gift cards let you define a marketing template (name, image, face value, currency) and issue redeemable codes with a monetary balance. Codes can exist without a member assignment, or be linked to a member account. Balance is stored in cents on each code for internal cards; Shopify-linked cards will query external balance in a future release.
Typical workflow:
- Create a gift card template (
POST /v1/gift-card). - Issue one or more codes (
POST /v1/gift-card/{gift_card_id}/codes/create). - Optionally assign a code to a member (
POST /v1/gift-card/code/{code}/assign). - Check balance before checkout (
GET /v1/gift-card/code/{code}). - Redeem fully or partially at payment time (
POST /v1/gift-card/code/{code}/redeem). - Refund a previous redemption if needed (
POST /v1/gift-card/transaction/{transaction_id}/refund).
OAuth scopes: read_gift_card for read endpoints, write_gift_card for create/update/redeem/refund.
Create a new gift card marketing template.
Recent Requests
Log in to see full request history
| Time | Status | User Agent | |
|---|---|---|---|
Retrieving recent requests… | |||
Loading…
