Gift a Digital Gift Card

​

Gifts a digital gift card to a recipient.

An optional designId records which artwork the customer selected. The design applies to the recipient's copy of the card. This works both when a new card is issued (giftCardId absent) and when an existing card is passed on (giftCardId present). The design is not echoed in the response. If passing on an existing card and designId is omitted, the recipient inherits the design currently assigned to the sender's card.

Headers

  • A custom HTTP header that accepts a free-form string value. It is used to identify the application making the API request. For example, if Punchh invokes the API, the value could be "punchh".

  • The unique location identifier for the store or business location processing the transaction.

  • The media type of the request body. Must be set to application/json.

  • Bearer token for API authorization. Send in the format: Bearer ACCESS_TOKEN_GOES_HERE.

Body·

application/json

Request details to gift the card.

  • The unique identifier of the recipient user (provided by Punchh after onboarding).

  • A unique reference number for the transaction.

  • The unique identifier of the user gifting the card.

  • The transaction date and time in UTC format.

  • The amount for the new gift card. Required when GiftCardId is not provided.

  • values
    NonePOSKiosk
  • Optional presentation identifier that records which artwork the user selected. Applies to the recipient's copy of the card. It has no effect on payment processing and is never sent to the payment gateway. Only a length limit applies; the value is stored and returned exactly as submitted.

  • The gift card ID to transfer. When provided, an existing saved card is transferred to the recipient. When absent, a new virtual gift card is issued and gifted.

  • A unique invoice number for the transaction.

  • values
    ScanToPayOnlineNone
  • The credit card purchase transaction ID. Required when GiftCardId is not provided.

  • The transaction date and time in local format.

Responses

  • application/json
  • application/json
  • application/json
  • application/json
  • application/json
  • application/json
Request Example for post/giftcard/v1/gift
curl https://SERVER_NAME_GOES_HERE.partech.com/giftcard/v1/gift \
  --request POST \
  --header 'x-applicationSource: ' \
  --header 'X-LocationId: ' \
  --header 'Content-Type: application/json' \
  --header 'Authorization: Bearer ACCESS_TOKEN_GOES_HERE' \
  --data '{
  "senderUserId": "user-abc123",
  "recipientUserId": "user-xyz789",
  "giftCardId": null,
  "amount": 50,
  "sourceTransactionId": "01JNXXXXXXXXXXXXXXXXXXXXXX",
  "referenceNumber": "123456789",
  "transactionDateTimeUTC": "2026-05-08T11:35:08.981Z",
  "transactionDateTimeLocal": "2026-05-08T11:35:08.981+00:00",
  "invoiceNumber": "INV001",
  "paymentSource": "Online",
  "channel": "None",
  "designId": "holiday-snowflake"
}'
{
  "parPayTransactionId": "01JNXXXXXXXXXXXXXXXXXXXXXX",
  "giftCardId": "01JNXXXXXXXXXXXXXXXXXXXXXX",
  "status": "Success",
  "statusMessage": "APPROVAL",
  "transactionDateTimeUTC": "2026-05-08T11:35:08.981Z"
}