post
https://api.trifft.io/v1/gift-card/code//refund
Credits balance back onto a gift card code without referencing a specific redeem transaction. Use this for top-ups or partial refunds when you only have the code.
Recent Requests
Log in to see full request history
| Time | Status | User Agent | |
|---|---|---|---|
Retrieving recent requests… | |||
Loading…
Behavior
- Credits the code’s balance (internal ledger or Shopify, depending on
balance_source) - Creates a
refundgift card transaction - Caps the resulting balance at the code’s maximum (per-code ceiling; never above that max)
- Does not reverse a specific prior redeem — for that, use
POST /api/v1/gift-card/transaction/{transactionId}/refund
Example
{
"amount": 1500,
"note": "Partial return"
}