Welcome to ApiGift API Live

Power your business
with ApiGift API

Integrate gift card buying and selling capabilities into your platform with our secure and reliable APIs.

Fast & Reliable

High performance APIs with 99.9% uptime guarantee.

Secure by Design

Enterprise-grade security to keep your data and transactions safe.

Developer Friendly

Well-documented APIs with examples and SDK-ready schemas.

Authentication

All API requests require the following headers:

1access-key: Your public API key from your user panel
2secret-key: Your secret API key (keep this confidential)

Decryption of EncryptedVirtualCollections

The EncryptedVirtualCollections field can be decrypted using the following specifications:

  • Algorithm: AES
  • Mode: CBC
  • IV: OFRna73mXaze01xY
  • Key: Your secret-key from the API panel
  • Input Format: Base64-encoded string
  • Output Format: UTF-8 plaintext
Steps:
  1. Base64 decode the encrypted string
  2. Initialize AES CBC with key and IV
  3. Decrypt and convert result to UTF-8 string
Next
Steps
Explore API ReferenceBrowse available endpoints and schemas Try WebhooksLearn how to receive real-time notifications View Security GuideReview authentication and security practices Contact SupportGet help from the developer support team

Webhook Events

Receive real-time updates when important events happen in ApiGift.

Sell Review Request Created

Triggered when a buyer submits a sell review request for an order.

{
  "source": "Marketplace",
  "sourceOrderNumber": "ORD-458236",
  "requestDescription": "Not as described."
}

Support Ticket Updated

Triggered for ticket replies, mediation changes, and status updates.

{
  "supportTicketId": "b3f32b90-...",
  "underMediationChanged": true,
  "closed": false,
  "newReply": { "replier": "Mediation" }
}

Order Invoice Status Changed

Triggered when the overall status of an order invoice changes.

{
  "orderId": "b3c09d58-...",
  "status": 1,
  "price": 47.99
}

Product Status Changed

Triggered when a product's availability or price changes.

{
  "id": "fa29855a-...",
  "price": 39.99,
  "status": 1
}

Inventory Item Delivered

Triggered when an item is delivered from personal inventory.

{
  "takeoutInventoryId": "21f2d0c8-...",
  "inventoryId": "9a4b7b3e-...",
  "deliveryKey": "TKO-20250720-ABCD1234"
}

Inventory Item Refunded

Triggered when a delivered inventory item is refunded.

{
  "inventoryId": "f71c2b48-82b9-48de-..."
}

Deprecated: DEPOSIT_STATUS_CHANGED

Formerly used to report wallet deposit events. This webhook is no longer in use.