Gift cards (storefront API)
Storefront and customer routes of the gift cards module. Send Accept-Language (or X-Locale from a browser) on every call; a customer route needs the session cookie.
GET /v1/gift-cards/balance
Section titled “GET /v1/gift-cards/balance”Check gift card balance
Parameters:
codein query (string, pattern/^\S{1,32}$/, required).
Responses:
200: Balance retrieved.400: Invalid gift card.