New gift card
gift-cards.write scope.Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Body
The gift card details to store.
The 16-19 digit number for this gift card.
16 - 19^[0-9]{16,19}$"4123455541234561234"
The PIN for this gift card.
"1234"
The ID of the buyer to associate this gift card to. If this field is
provided then the buyer_external_identifier field needs to be unset.
"fe26475d-ec3e-4884-9553-f7356683f7f9"
The external_identifier of the buyer to associate this gift card
to. If this field is provided then the buyer_id field
needs to be unset.
"user-789123"
Response
Returns the stored gift card.
A gift card stored for a buyer, or used in a transaction.
The type of this resource.
gift-card "gift-card"
The ID of this gift card.
"e6cdf979-87e2-4796-8ff6-9784d5aed893"
The unique ID for a merchant account.
"default"
An configured gift card service.
The first 6 digits of the full gift card number.
"412345"
The 3 digits after the bin of the full gift card number.
"554"
The last 4 digits for the gift card.
"1234"
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.
"2013-07-16T19:23:00.000+00:00"
The optional buyer for which this payment method has been stored.
The date and time when this gift card was created in our system.
"2013-07-16T19:23:00.000+00:00"
The date and time when this gift card was last updated in our system.
"2013-07-16T19:23:00.000+00:00"