---
title: Virtual Gift
slug: datacap-api-overview/virtual-gift
docTags: 
createdAt: 2026-01-23T16:56:31.305Z
---

## What is Virtual Gift?

Virtual Gift API enables merchants to create persistent gift card storefronts.  The web pages remain active and can be used by multiple customers over time.&#x20;Unlike single-use payment requests, gift card pages are designed to be permanent points of sale for virtual gift cards.



**Key Features**

1. Create branded gift card purchase pages
2. Support multiple payment methods (Credit/Debit, ACH) with Apple Pay and Google Pay support for card payments
3. Three delivery options: Email, SMS, or Print (for hand delivery)
4. Schedule gift card delivery for future dates
5. Customize occasions, amounts, and messaging
6. Embed as widgets/iframes in your own website
7. Receive webhook notifications on purchases



### Virtual Gift Storefront Example

::Image[]{src="https://api.archbee.com/api/optimize/QyRay_zUP3KYqO60BLxSV/Iph-51xXdj_OdII2mSL4_-20260413-204324.png" size="58" width="1900" height="2693" position="flex-start" caption="Virtual Gift page with custom logo and colors" alt="Virtual Gift" darkWidth="1900" darkHeight="2693" showCaption="true"}





### Virtual Gift Card Example

:::Iframe{iframeHeight="0" code="<div style=&#x22;text-align:left;&#x22;>&#xA;  <img src=&#x22;https://archbee-image-uploads.s3.amazonaws.com/QyRay_zUP3KYqO60BLxSV/sMD7RaNJH7sIUzBHs7ubU-20260617-195247.png&#x22;&#xA;       alt=&#x22;Virtual Gift card example&#x22;&#xA;       style=&#x22;display:block; width:50%; height:auto; border:none; margin:0;&#x22;>&#xA;</div>"}

:::

## URLs

| **Type**      | **URL**                                         |
| ------------- | ----------------------------------------------- |
| Certification | `https://paylink-cert.dcap.com/api/v1/giftcard` |
| Production    | `https://paylink.dcap.com/api/v1/giftcard`      |



## Authorization

The authorization is the same as `V2` Pay API. which consists of Basic Authorization on all endpoints as `Authorization: Basic BASE64(eCommerceMID:ApiKey)` API Key acquired via the endpoint [`/AcquireInitialApiKey`](#) and rotated via the endpoint [`/AcquireApiKey`](#).
All Gift Card API requests require HTTP Basic Authentication using your Datacap merchant credentials.  Refer to [Pay API Authorization](docId\:BTC4M25D3m2uHbaLHTJPx) for more info.

**Important Note:** The merchant must be authorized to issue gift cards. The Virtual Gift API validates this by performing a test transaction during page creation.



## Operations

The following operations are supported for virtual gift.

| **Operation**                                   | **HTTP Method** | **URL**                                                            |
| ----------------------------------------------- | --------------- | ------------------------------------------------------------------ |
| Create new gift card page                       | `POST`          | /giftcard                                                          |
| Gift card page details                          | `GET`           | /giftcard/&#x7B;giftCardPageId}                                    |
| Update a gift card page                         | `PUT`           | /giftcard/&#x7B;giftCardPageId}                                    |
| Disable purchases                               | `PUT`           | /giftcard/&#x7B;giftCardPageId}/archive                            |
| Return gift card transactions for specific page | `GET`           | /giftcard/&#x7B;giftCardPageId}/transactions                       |
| Retry delivery of gift card                     | `PUT`           | /giftcard/&#x7B;giftCardPageId}/&#x7B;transactionID}/retryDelivery |
| Generate QR code image                          | `GET`           | /qrcode/gift/&#x7B;publicLinkId}                                   |
| Customer-facing gift card page                  | `GET`           | /giftcard/&#x7B;publicLinkId}                                      |
| Embedded/iframe version                         | `GET`           | /giftcard/&#x7B;publicLinkId}?widget=true                          |



## Request Full Access to Virtual Gift&#x20;

:::CtaButton{label="Request Access" externalHref="https://dsidevportal.com/request-access" openInNewTab="true"}

:::

:::hint{type="success"}
**Get started:** Request developer credentials for free access to every product's integration guide.
:::

