https://api.giftup.app.
Authentication requires an API key passed via the Authorization: Bearer <api_key> header. API keys are generated in the Gift Up! dashboard under Settings > Integrations > API.
Key concepts:
- Orders and Gift Card Issuance: Gift cards are created by placing an order via
orders.create. - Redemptions: Full or partial redemptions are performed on the gift card resource via
giftCards.redeemorgiftCards.redeemInFull. Redemptions can be reversed/refunded usinggiftCards.undoRedemption. - JSON Patch: Updates to gift cards, orders, items, groups, users, and settings use RFC 6902 JSON Patch operations.
- Test Mode: Set
testMode: truein the plugin options to send thex-giftup-testmode: trueheader, so calls use the account’s test data. In live mode,orders.createis charged Gift Up’s fee. - Emails:
orders.createemails the gift card whenrecipientDetailsis set, unlessdisableAllEmailsis true.users.inviteemails an invitation. - Lists:
giftCards.list,orders.listandreports.listTransactionsreturn{ <items>, total, hasMore }; page withlimit(max 100) andoffset.
- 51 typed API operations
Setup
1
Install
2
Add the plugin
corsair.ts
multiTenancy: true, scope calls with corsair.withTenant(id). See Quick start for KEK + Hub keys, and Multi-tenancy for account isolation.3
Choose authentication
- API Key (Recommended)
Store the Gift Up! API key before the first call: More: API Key
pnpm corsair setup --plugin=giftup --tenant=acme api_key=<your-key> (leave out --tenant without multiTenancy), or pass it as key in the plugin options. With Hub, each tenant enters their own key on the connect page. See API key auth.4
Connect a tenant
Mint a connect link and send the tenant to it. Hub hosts the page and delivers the result to your app — see Connect / OAuth.
Example API calls
company.get
giftCards.reactivate
What’s next
API reference
Every
giftup.api.* operation with input and output types.Connect / OAuth
createLink, Hub delivery, and tenant connect flows.
Use with agents
Expose this plugin’s operations as MCP tools.