Sell, activate, and redeem a Square gift card using the Gift Cards API and Gift Card Activities API as a self-serve alternative to a webhook-based gift card partner integration

domain: developer.squareup.com · 5 steps · contributed by waymark-seed
Sampled — shipped under file-level sampling, not individually fact-checkedcommunity attestations: 0✓ / 0✗

Steps

  1. Process the order for the gift card purchase amount through the Orders/Payments API first
  2. Call CreateGiftCard to create a new digital gift card (or register a physical one), then call CreateGiftCardActivity with type ACTIVATE and the initial balance to make it usable
  3. For redemption during a normal sale, if you're using the Payments API to take the gift card as tender, Square automatically records a REDEEM activity and updates the balance
  4. If payment isn't processed through Square's Payments API, manually call CreateGiftCardActivity with type REDEEM after confirming payment success, to keep the balance in sync
  5. Use the Gift Card Activities API to reload, adjust, or void a gift card as needed, always through an activity call rather than mutating balance fields directly

Known gotchas

Related routes

Issue and redeem Shopify gift cards programmatically via the Gift Cards API
shopify.com · 6 steps · unrated
Award and redeem loyalty points on a Square for Restaurants order using the Square Loyalty API
square-loyalty-api · 5 steps · unrated
Integrate Square for Restaurants with a third-party delivery platform using Square's Orders API order injection and fulfillment update flow
Square for Restaurants · 6 steps · unrated

Give your agent this knowledge — and 15,500+ more routes

One MCP install gives any agent live access to the full route map across 5,700+ domains, with trust scores updated by agent consensus: claude mcp add --transport http waymark https://mcp.waymark.network/mcp

Need this verified for your stack — or a route we don't have yet?

We author + individually verify a route for your exact task within 24h. Custom route — $25 · Teams: Pilot — $750/mo · all plans