# Extend with Gift codes

{% hint style="info" %}
**Tip:** Need help extending store credit to apply toward the full cart cost (i.e. taxes, shipping, and fees)? Use this guide to get started and if you need additional help or have questions contact us at <support@shopwaive.com>&#x20;
{% endhint %}

## Introduction

For Shopify Plus merchants who wish to issue store credit as a true alternative form of payment or for crowdfunding or pre-orders, you can [bulk import store credit](/shopify/accounts/import-accounts.md) in the amount the customer pledged, and then enable them to apply it toward the full cart costs including taxes, shipping, and fees. This will allow the order to be created in Shopify without any additional amount being transacted at Checkout. To use this feature, you will need to install the Shopwaive Gift Cards extension by creating a custom app on your store. Reach out to <support@shopwaive.com> for any support needed, but this typically takes only 1 - 2 minutes to complete. Shopify Plus is required.

{% hint style="success" %}
Be sure to enable Gift cards on your store from the Shopify Admin before proceeding. If you've already enabled Gift cards but you've never created a gift card before, create a test gift card from <mark style="color:blue;">**Products**</mark> <mark style="color:blue;">**> Gift cards**</mark> in the Shopify admin before completing the steps below
{% endhint %}

To redeem as a gift code with the Shopify Plus <mark style="color:blue;">**Redeem**</mark> Checkout Extension, turn on the <mark style="color:blue;">**Gift Cards Extension**</mark> from the app by visiting **Settings > Gift Cards.**

<figure><img src="/files/bAnwY6DavkolI4FA1c4v" alt=""><figcaption><p>Enable the GIft Cards Extension</p></figcaption></figure>

## Install the Shopwaive Gift Card extension&#x20;

{% hint style="warning" %}
New! The following method to install a custom app to grant <mark style="color:blue;">**read\_gift\_cards**</mark> and <mark style="color:blue;">**write\_gift\_cards**</mark> permissions is now no longer required and deprecated and you can skip the remainder of this documentation. All new installations automatically include gift card scopes.&#x20;

If you installed the app prior to August 20th, 2024, you can add the gift card scopes by uninstalling and then reinstalling the app, or by following the steps below, otherwise, the steps outlined are no longer required.
{% endhint %}

#### Step 1: Navigate to <mark style="color:blue;">**Shopify Admin**</mark> > <mark style="color:blue;">**Settings**</mark> > <mark style="color:blue;">**Apps and sales channels**</mark> > <mark style="color:blue;">**Develop apps**</mark>

<figure><img src="/files/4vxhTPZ9H9L3MwbdTY2N" alt=""><figcaption><p>Navigate to Develop apps from the Shopify admin</p></figcaption></figure>

**Step 2**: Click <mark style="color:blue;">**Create an app**</mark>

<figure><img src="/files/P6SLvo7G4qLOmD67PepB" alt=""><figcaption><p>Click Create an app</p></figcaption></figure>

**Step 3**: Name the app. You can use *Shopwaive: Gift Cards Extension* if you prefer

<figure><img src="/files/qAPbFtQkDNWwjsZPOcPK" alt=""><figcaption><p>Name your custom app</p></figcaption></figure>

**Step 4**: Click <mark style="color:blue;">**Configure Admin API scopes**</mark>

<figure><img src="/files/QCMclHQXdP8RkH5wNdjv" alt=""><figcaption><p>Click Configure Admin API scopes</p></figcaption></figure>

**Step 5**: Search for scopes by typing "gift" in the search field. Then check the box next to <mark style="color:blue;">**write\_gift\_cards**</mark> and <mark style="color:blue;">**read\_gift\_cards**</mark>. Then click <mark style="color:blue;">**Save**</mark>

<figure><img src="/files/QZYJXvf1EwTkhesqohBq" alt=""><figcaption><p>Add Admin API access scopes</p></figcaption></figure>

**Step 6**: Click the <mark style="color:blue;">**API credentials**</mark> tab at the top, then <mark style="color:blue;">**Install app**</mark>

<figure><img src="/files/RM0dzJWvryDCXIVPGTku" alt=""><figcaption><p>Navigate to the API credentials tab and click Install app</p></figcaption></figure>

**Step 7**: Click <mark style="color:blue;">**Install**</mark> from the popup to confirm the installation

<figure><img src="/files/6Fc7NSfyci0Bi5Hvlzhp" alt=""><figcaption><p>Click Install to confirm the installation</p></figcaption></figure>

**Step 8**: Click <mark style="color:blue;">**Reveal token once**</mark> to be shown the access token, but be sure to copy and paste it somewhere secure, or just save it in the Shopwaive settings. You'll only be shown the token once

<figure><img src="/files/Pi2ST3qZfwFTHE0Dwlhe" alt=""><figcaption><p>Click Reveal token once and save it in the Shopwaive Gift Card access token settings</p></figcaption></figure>

**Step 9**: Save the **Admin API access token** in your Shopwaive settings. Then turn on the **Gift Cards Extension** toggle and you're done.

<figure><img src="/files/kD09itLvLPehaVPU7Equ" alt=""><figcaption></figcaption></figure>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.shopwaive.com/shopify/checkout-extensions/extend-with-gift-codes.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
