Development
  • Guides
  • API Reference
  • API Explorer
  • SDKs
  • Sample apps
  • System status
Support
  • Developer forums
  • Developer blog
  • YouTube
  • X
More
  • Square Home
  • Square Developer
  • App Marketplace
  • Partner with Square
  • Solutions Partner Program
  • Pricing
  • Sales

© 2026 Square, Inc.

  • Developer terms of service
  • Developer Integration and Marketing Agreement
  • Privacy policy
  • Partnerships
  • Sign In
  • Sign In
  • Home

  • Dev Essentials

  • Payments

  • Commerce

  • Customers

    • Customers

    • Customer Custom Attributes

    • Customer Groups

    • Customer Segments

    • Loyalty

    • Gift Cards

    • Gift Card Activities

  • Staff

  • Merchants

  • Objects & Enums

  • Webhook Events

  • Deprecated

  • SDKs

<- Square API

Square API

All versions ->

Gift Cards

Create and retrieve gift cards and manage gift cards on file.

Square Gift Cards enable sellers to boost sales and attract new customers. Customers can purchase gift cards and redeem them at any of the seller's locations. Sellers can manage gift cards and track activity.

Use the Gift Cards API to create and retrieve gift cards (for example, to get the gift card balance) and manage gift cards on file by linking or unlinking gift cards with customers. After creating a gift card, use the Gift Card Activities API to activate the gift card with an initial balance and manage other activities.

For more information, see the following guides:

  • Gift Cards
  • Square Webhooks Overview
  • Endpoints

  • Webhooks

All versions ->

List gift cards

GET/v2/gift-cards

Lists all gift cards.

Create gift card

POST/v2/gift-cards

Creates a digital gift card or registers a physical (plastic) gift card.

Retrieve gift card from GAN

POST/v2/gift-cards/from-gan

Retrieves a gift card using the gift card account number (GAN).

Retrieve gift card from nonce

POST/v2/gift-cards/from-nonce

Retrieves a gift card using a secure payment token that represents the gift card.

Link customer to gift card

POST/v2/gift-cards/{gift_card_id}/link-customer

Links a customer to a gift card, which is also referred to as adding a card on file.

Unlink customer from gift card

POST/v2/gift-cards/{gift_card_id}/unlink-customer

Unlinks a customer from a gift card, which is also referred to as removing a card on file.

Retrieve gift card

GET/v2/gift-cards/{id}

Retrieves a gift card using the gift card ID.