Product Documentation
Auto Light Dark
Auto Light Dark

GIFT CARD API

GIFT CARD is the API reference for gift card operations in Unified Commerce flows.

Prerequisites

Review the source topic prerequisites before implementing gift card integrations. Gift card flows typically depend on correct configuration of tender types, gift card numbers, reservation flows, and transaction handling.

HTTP return codes

The API uses standard HTTP return codes for successful calls, bad requests, missing resources, and server-side errors.

General information

Gift card operations can involve balance checks, reservations, redemption, cancellation, top-up, sale, activation, and transaction lookups.

API functions

The source topic documents these functions:

  • Redemption of gift card in two steps, including possible cancellation of reservation.

  • Topping up a gift card.

  • Sale of a new gift card.

  • Activation of a gift card.

  • Request for gift card balance.

  • Request for available gift card balance.

  • List of gift card transactions.

Revision history

The source topic includes a Gift card API revision history section. Keep this page aligned with the source when API revisions are published.