Authorizations
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Query Parameters
Comma-separated fields that should be included in the returned data.
if a field is prefixed with +
it will be added to the default fields, using -
will remove it from the default fields.
without prefix it will replace the entire default fields.
Body
The details of the gift card to create.
The gift card's code.
The gift card's amount.
20
The gift card's currency code.
"usd"
The date the gift card expires at.
The gift card's reference ID.
The gift card's reference.
The ID of the line item associated with the gift card.
The ID of the customer associated with the gift card.
The gift card's metadata, can hold custom key-value pairs.
Response
OK
The gift card's details.
The gift card's details.