Create a gift card
Issues a gift card scoped to the current store. The code is
auto-generated when omitted. currency defaults to the store’s
configured currency. Pass customer_id (prefixed ID) to attach the
card to a specific customer.
Required scope: write_gift_cards (for API-key authentication).
Authorizations
Secret API key for admin access
JWT token for admin user authentication
Body
Decimal amount, greater than zero.
"25.00"
ISO 4217 currency code. Defaults to the store currency.
"USD"
Optional caller-supplied code. Auto-generated when omitted.
"WELCOME50"
ISO 8601 date.
"2030-12-31"
Optional customer prefixed ID.
"cus_UkLWZg9DAJ"
Response
gift card created
The values listed are the built-in ones; extensions may add more.
active, partially_redeemed, redeemed, canceled, expired 
