Gift Cards or Codes
Create and manage gift cards and promotional codes for subscription purchases
Gift Cards & Codes
Create gift cards and promotional codes for VPN subscriptions. Enable gifting, run promotions, and expand your sales channels.
Gift Cards
Pre-paid subscription cards for gifting.
Promo Codes
Discount codes for marketing campaigns.
Flexible Values
Fixed amount or percentage discounts.
Gift Card Types
Fixed Value
Cards with specific dollar amounts ($25, $50, $100).
Subscription Based
Cards for specific plans (1 month, 1 year).
Percentage Off
Discount percentage on any purchase.
Free Trial Extension
Extended trial period cards.
Create Gift Card
mutation createGiftCard($giftCard: GiftCardInput!) {
createGiftCard(giftCard: $giftCard) {
code
value
type
expiresAt
redeemable
}
}Variables:
{
"giftCard": {
"type": "FIXED_VALUE",
"value": 50.00,
"currency": "USD",
"expiresAt": "2025-12-31T23:59:59Z",
"quantity": 10
}
}Redeem Gift Card
mutation redeemGiftCard($code: String!) {
redeemGiftCard(code: $code) {
success
creditAdded
message
}
}Variables:
{
"code": "GIFT-XXXX-XXXX"
}Use Cases
Holiday Gifting
Seasonal gift card promotions.
Corporate Bulk
B2B bulk gift card purchases.
Retail Partners
Distribute through retail channels.
Referral Rewards
Reward users for referrals.
Promotional Codes
Discount Codes
Percentage or fixed amount discounts.
Time-Limited
Codes valid for specific periods.
Usage Limits
Limit total or per-user redemptions.
Targeted
Codes for specific plans or users.
Best Practices
Track Analytics
Monitor redemption rates and revenue.
Set Limits
Configure expiration and usage limits.
Clear Terms
Communicate terms and conditions clearly.
Fraud Prevention
Implement anti-abuse measures.
Related Endpoints
Gift Card Design
For physical gift cards, include clear redemption instructions and prominently display the code.
Create Promotional Codes
Start creating coupon codes for your marketing campaigns and promotions.