๐Ÿ›  Developer Platform

The Gift Card API Built for Developers

Integrate purchasing, delivery, balance checking, and real-time order tracking into any platform with Egift.com's RESTful API. Comprehensive docs, client SDKs, and a full sandbox environment.

Get API Keys โ†’ Contact Developer Relations
โœ“ REST + Webhooks
โœ“ JS, Python, PHP SDKs
โœ“ Full Sandbox
โœ“ 99.99% Uptime SLA
Response
Request
// POST /v1/orders
// Sample JSON API Response
{
  "status": "success",
  "order": {
    "id": "EG-2026-48920",
    "status": "delivered",
    "product": {
      "sku": "NINTENDO-EUR-50",
      "name": "Nintendo eShop โ‚ฌ50",
      "brand": "Nintendo",
      "currency": "EUR",
      "face_value": 50.00
    },
    "gift_code": {
      "code": "NNTD-A1B2-C3D4-E5F6",
      "pin": "1234",
      "expires_at": "2031-04-17"
    },
    "recipient_email": "[email protected]",
    "delivered_at": "2026-04-17T09:14:07Z",
    "amount_charged": 42.50,
    "currency": "EUR"
  },
  "request_id": "req_8f7d3a2e1c4b"
}
API Capabilities

Everything You Need to Build

๐Ÿ”„

REST API

Standard REST endpoints with JSON payloads. Supports OAuth 2.0 and API key authentication. Versioned for stability.

๐Ÿช

Webhooks

Real-time event notifications for order placements, code delivery, redemptions, and balance updates. HMAC-signed payloads.

๐Ÿ“ฆ

SDKs

Official client libraries for JavaScript/TypeScript, Python, PHP, Ruby, Go, and Java. NPM, PyPI, Packagist packages available.

๐Ÿงช

Sandbox Environment

Full test environment mirroring production. Generate test orders, simulate deliveries, and test webhooks risk-free.

๐Ÿ“–

OpenAPI 3.0 Spec

Full OpenAPI specification available for import into Postman, Insomnia, or auto-generating client code in any language.

๐Ÿ”

Request Logs

Full request/response logging in your developer dashboard. Replay failed requests, inspect payloads, and debug in real time.

Official SDKs

๐ŸŸก JavaScript / TypeScript
๐Ÿ Python
๐Ÿ˜ PHP
๐Ÿ’Ž Ruby
๐Ÿน Go
โ˜• Java
๐Ÿ”ท .NET / C#
API Reference

Core Endpoints

Full Docs โ†’
GET/v1/productsList all available gift card products with pricing and availability
GET/v1/products/{sku}Get details for a specific gift card product by SKU
POST/v1/ordersPlace a new gift card order and trigger immediate delivery
GET/v1/orders/{id}Retrieve order status, delivery details, and gift code
POST/v1/orders/bulkPlace up to 10,000 orders in a single request via CSV or JSON array
GET/v1/balanceCheck remaining balance on a gift card code
POST/v1/webhooksRegister a webhook URL for real-time event notifications
DEL/v1/webhooks/{id}Delete a registered webhook endpoint
GET/v1/account/balanceCheck your Egift.com credit balance and spending limits
API Pricing

Simple, Transparent Pricing

No upfront costs. Pay for what you use. Volume discounts apply automatically.

Sandbox

Free forever

Perfect for development and testing.

  • Full API access (test mode)
  • Unlimited sandbox orders
  • Webhook testing
  • All SDKs included
  • Community support
Start Free โ†’

Enterprise

Custom

High-volume pricing negotiated to your needs.

  • All Production features
  • Custom transaction fees
  • Dedicated infrastructure
  • SLA: 99.99% uptime
  • Dedicated DevRel engineer
  • Custom integrations
Contact Sales โ†’

Start Building Today

Your sandbox API keys are ready immediately after registration. No approval process, no credit card required.

Create Free Developer Account โ†’