Skip to content
This repository has been archived by the owner on Mar 20, 2023. It is now read-only.

Latest commit

 

History

History
36 lines (28 loc) · 737 Bytes

view-gift-card-details.md

File metadata and controls

36 lines (28 loc) · 737 Bytes

View Gift Card Details

Get the details of an unredeemed gift card.

Request

Response

  • Status: 200 OK

  • Body:

    {
      "id":           1,
      "code":         "ABC123",
      "plan":         "pro",
      "months":       12,
      "href":         "https://my.cl.ly/gift_cards/ABC123",
      "created_at":   "2011-01-08T20:11:26Z",
      "updated_at":   "2011-01-08T20:11:26Z",
      "redeemed_at":  null,
      "effective_at": null,
      "expires_at":   null
    }

Example

curl -H "Accept: application/json" \
     -H "Content-Type: application/json" \
     "https://my.cl.ly/gift_cards/ABC123"