Skip to main content
POST
This endpoint allows users to add a gift card to their account. The card is validated with the gift card provider and the balance is checked before the card is stored. The system prevents duplicate cards — the same card number cannot be added twice for the same user and merchant.
Please review proper request headers here.

Body

string
required
The provider merchant ID. This identifies which gift card provider and merchant configuration to use for validation.
string
required
The full gift card number
string
The PIN code for the gift card, if required by the provider

Response

string
Gift card ID
string
Provider merchant ID
string
Full gift card number
string
PIN code (if required by provider)
string
Last 4 digits of the card number
number
Current balance on the gift card (fetched in real-time from provider)
enum
Gift card state (active, archived)
string
Expiration date in ISO8601 format (nullable)
string
Time the gift card was added in ISO8601 format