AwardIt Gift Card

Configure AwardIt gift card payment provider with Omnium for gift card redemption.

AwardIt Gift Card Integration with Omnium

Omnium supports AwardIt for gift card payment processing, enabling full gift card lifecycle management including creation, balance checking, and redemption.

Supported Features

  • Create gift cards with email/SMS distribution
  • Check balance and validity
  • Authorize (reserve) gift card funds
  • Capture reserved amounts
  • Cancel reservations
  • Credit/Refund to gift cards

Setup Instructions

Configuration Path

  1. Navigate to: Configuration > Settings > Payment > Payment Types > "..." > Add

  2. Fill out the required fields as outlined below.


Required Fields

FieldDescriptionValue
Unique Payment NameThe unique identifier for the AwardIt payment method.AwardIt
Payment ServiceThe name of the payment service used for this configuration.AwardIt
Provider NameSpecifies which provider to use.AwardIt
Display NameThe name shown in the Omnium interface.Gift Card or your preferred name
Client IDYour AwardIt OAuth2 Client ID.Your Client ID from AwardIt
API TokenYour AwardIt OAuth2 Client Secret.Your Client Secret from AwardIt
Base URLAwardIt API endpoint URL.Your AwardIt API URL

Optional Configuration

FieldDescription
Authorization Time (Days)Days until gift card reservation expires
Display in CartShow gift card option in checkout

Template Configuration (Properties)

Configure gift card templates per market:

PropertyDescription
DefaultTemplateDefault template ID when no market match
TemplateForMarket_{marketId}Market-specific template ID
DistributionTypeForMarket_{marketId}Distribution method: Email or Sms

Example:

TemplateForMarket_NO = 12345
DistributionTypeForMarket_NO = Email

Supported Operations

OperationSupportedNotes
Create Gift CardYesWith email or SMS distribution
Get BalanceYesIncluding validity and reserved amounts
Search Gift CardYesFind cards by code
AuthorizeYesReserve funds with optional PIN
CaptureYesCapture reserved amount
CancelYesRelease reserved funds
Release RemainingYesRelease uncaptured portion
RefundYesAdd funds back to card

Special Features

Gift Card Creation

Gift cards can be created and distributed via:

  • Email: Card details sent to recipient email
  • SMS: Card details sent via text message

Configuration per market determines distribution method.

PIN Protection

Gift cards can optionally require a PIN for authorization:

  • PIN provided during payment
  • Validated by AwardIt during reservation
  • Stored securely with the card

Balance Information

When checking gift card balance:

FieldDescription
Available BalanceFunds available for use
Reserved AmountFunds held pending capture
Captured AmountFunds already used
Valid FromCard activation date
Valid ThroughCard expiration date

Authorization Expiration

Reservations can have configurable expiration:

  • Set via AuthorizationTimeInDays setting
  • If > 0, sets ValidThru on reservation
  • Expired reservations automatically release funds

Over-Authorization Prevention

The system prevents reserving more than the order allows:

  • Compares against non-gift-card reserved amounts
  • Ensures total reservations don't exceed order total

Gift Card Flow

Issuance Flow

  1. Configure template ID (per market or default)
  2. Determine distribution type (Email/SMS)
  3. Create card with amount and recipient details
  4. Card code and details returned
  5. Distribution sent to recipient

Payment Flow

  1. Customer enters gift card code (and PIN if required)
  2. Balance checked for availability
  3. Funds reserved for order amount
  4. On order completion, funds captured
  5. Remaining balance available for future use

Refund Flow

  1. Return processed in Omnium
  2. Refund amount sent to AwardIt
  3. Funds added back to gift card balance
  4. Card balance updated

Error Handling

AwardIt errors are displayed on the order in the Errors section.

Common Error Scenarios

ScenarioResolution
Insufficient balanceCheck card balance before authorization
Card expiredCard validity period has ended
Invalid PINVerify PIN matches card
Card not foundCheck gift card code

Configuration Reference

Payment Service

AwardIt

Authentication

OAuth2 Client Credentials flow with JWT token caching

Amount Format

Decimal strings with 2 decimal places (e.g., "99.99")