Store a new gift card in the vault.
gift-cards.write scope.Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
The ID of the merchant account to use for this request. The ID of the merchant account to use for this request.
The 16-19 digit number for the gift card.
16 - 19The PIN for this gift card.
1The 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.
1 - 200"buyer-12345"
Successful Response
The ID for the gift card.
The ID of the merchant account this buyer belongs to.
The service this gift card belongs to.
The first 6 digits of the full gift card number.
The 3 digits after the bin of the full gift card number.
The last 4 digits for the gift card.
The date this gift card record was created at.
The date this gift card record was last updated at.
Always gift-card.
"gift-card"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 buyer for which this gift card is stored.