# CreateGiftCardActivityRequest for free gift card

**URL:** <https://developer.squareup.com/forums/t/creategiftcardactivityrequest-for-free-gift-card/7758>\
**Category:** Questions\
**Tags:** gift-cards-api\
**Created:** [November 28, 2022, 7:24pm UTC](https://developer.squareup.com/forums/t/creategiftcardactivityrequest-for-free-gift-card/7758 "2022-11-28T19:24:26Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![cwest](https://sea1.discourse-cdn.com/square/forums/user_avatar/developer.squareup.com/cwest/32/1589_2.png) [@cwest](https://developer.squareup.com/forums/u/cwest)\
**Post date:** [November 28, 2022, 7:24pm UTC](https://developer.squareup.com/forums/t/creategiftcardactivityrequest-for-free-gift-card/7758/1 "2022-11-28T19:24:26Z")

</div>

I’m trying to create a free gift card for a customer using the GiftCardsApi. When I run the CreateGiftCardActivityRequest endpoint with the ‘ACTIVATE’ type I need to specify the order\_id & line\_item\_uid OR the amount & buyer\_payment\_instrument\_id.

The problem I’m having is that because this is a freely given gift card there is no order\_id, line\_item\_uid or buyer\_payment\_instrument\_id included.

How can I achieve my aim of giving a customer a free gift card?

---

<div class="post-metadata">

**Author:** ![Bryan-Square](https://sea1.discourse-cdn.com/square/forums/user_avatar/developer.squareup.com/bryan-square/32/38_2.png) [@Bryan-Square](https://developer.squareup.com/forums/u/Bryan-Square)\
**Post date:** [November 28, 2022, 7:56pm UTC](https://developer.squareup.com/forums/t/creategiftcardactivityrequest-for-free-gift-card/7758/2 "2022-11-28T19:56:39Z")

</div>

You can [Create and Activate a Gift Card When Using a Custom Processing System](https://developer.squareup.com/docs/gift-cards/walkthrough-1-without-orders-api) which won’t require an `order_id` and uses a custom `buyer_payment_instrument_ids`. 🙂

---

<div class="post-metadata">

**Author:** ![cwest](https://sea1.discourse-cdn.com/square/forums/user_avatar/developer.squareup.com/cwest/32/1589_2.png) [@cwest](https://developer.squareup.com/forums/u/cwest)\
**Post date:** [November 28, 2022, 8:36pm UTC](https://developer.squareup.com/forums/t/creategiftcardactivityrequest-for-free-gift-card/7758/3 "2022-11-28T20:36:57Z")

</div>

Perfect, thanks. I didn’t realise the buyer\_payment\_instrument\_ids could hold anything.
