GET
/
gift-cards
/
{gift_card_id}

This endpoint requires the gift-cards.read scope.

Authorizations

Authorization
string
headerrequired

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

gift_card_id
string
required

The unique ID of a stored gift card.

Response

200 - application/json
type
enum<string>

The type of this resource.

Available options:
gift-card
id
string

The ID of this gift card.

merchant_account_id
string

The unique ID for a merchant account.

service
object

An configured gift card service.

bin
string

The first 6 digits of the full gift card number.

sub_bin
string

The 3 digits after the bin of the full gift card number.

last4
string

The last 4 digits for the gift card.

expiration_date
string | null

The date and time when this gift card expires. This is a full date/time and may be more accurate than the actual expiry date received by the gift card service.

buyer
object

The optional buyer for which this payment method has been stored.

created_at
string

The date and time when this gift card was created in our system.

updated_at
string

The date and time when this gift card was last updated in our system.