Skip to content

Latest commit

 

History

History
39 lines (30 loc) · 943 Bytes

link-customer-to-gift-card-response.md

File metadata and controls

39 lines (30 loc) · 943 Bytes

Link Customer to Gift Card Response

A response that contains the linked GiftCard object. If the request resulted in errors, the response contains a set of Error objects.

Structure

LinkCustomerToGiftCardResponse

Fields

Name Type Tags Description
errors Error[] | undefined Optional Any errors that occurred during the request.
giftCard GiftCard | undefined Optional Represents a Square gift card.

Example (as JSON)

{
  "gift_card": {
    "balance_money": {
      "amount": 2500,
      "currency": "USD"
    },
    "created_at": "2021-03-25T05:13:01Z",
    "customer_ids": [
      "GKY0FZ3V717AH8Q2D821PNT2ZW"
    ],
    "gan": "7783320005440920",
    "gan_source": "SQUARE",
    "id": "gftc:71ea002277a34f8a945e284b04822edb",
    "state": "ACTIVE",
    "type": "DIGITAL"
  }
}