Issue a gift card
Issue a new virtual gift card through the primary gift card service.
gift-cards.write scope.Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Headers
A unique key forwarded to the gift card service to make the issuance idempotent.
The ID of the merchant account to use for this request.
"default"
Body
The details used to issue a new virtual gift card.
The provider theme code to issue the gift card against.
1 - 200"031111372"
The amount to load onto the gift card, in the smallest denomination for the currency.
0 <= x <= 999999995000
The ISO-4217 currency code for the amount.
^[A-Z]{3}$"EUR"
"GBP"
"USD"
An optional external identifier for this issuance.
1 - 200"order-12345"
Response
Successful Response
The ID for the gift card issuance.
"356d56e5-fe16-42ae-97ee-8d55d846ae2e"
The ID of the merchant account this gift card issuance belongs to.
"default"
The service this gift card was issued against.
The identifier for this issuance as provided by the gift card service.
"12345"
The URL for the issued gift card.
"https://example.com/gift_card_issuance/ABCD1234"
The amount loaded onto the gift card, in the smallest denomination for the currency.
0 <= x <= 999999995000
The ISO-4217 currency code for the amount.
^[A-Z]{3}$"EUR"
"GBP"
"USD"
The date and time when this gift card was issued.
"2013-07-16T19:23:00.000+00:00"
The date and time when this gift card issuance was last updated.
"2013-07-16T19:23:00.000+00:00"
Always gift-card-issuance.
"gift-card-issuance""gift-card-issuance"
The external identifier provided when issuing the gift card.
1 - 200"order-12345"