New gift card
This endpoint requires the 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
The PIN for this gift card.
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.
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.
Response
A gift card stored for a buyer, or used in a transaction.
The first 6 digits of the full gift card number.
The optional buyer for which this payment method has been stored.
The date and time when this gift card was created in our system.
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.
The ID of this gift card.
The last 4 digits for the gift card.
The unique ID for a merchant account.
An configured gift card service.
The 3 digits after the bin
of the full gift card number.
The type of this resource.
gift-card
The date and time when this gift card was last updated in our system.
Was this page helpful?