Skip to content

Latest commit

 

History

History
36 lines (27 loc) · 880 Bytes

retrieve-gift-card-from-nonce-response.md

File metadata and controls

36 lines (27 loc) · 880 Bytes

Retrieve Gift Card From Nonce Response

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

Structure

RetrieveGiftCardFromNonceResponse

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": 5000,
      "currency": "USD"
    },
    "created_at": "2021-05-20T22:26:54.000Z",
    "gan": "7783320001001635",
    "gan_source": "SQUARE",
    "id": "gftc:6944163553804e439d89adb47caf806a",
    "state": "ACTIVE",
    "type": "DIGITAL"
  }
}