> For the complete documentation index, see [llms.txt](https://docs.uppromote.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.uppromote.com/management/payments/in-app-payments/store-credits-process.md).

# Store Credits process

In order to send a payment to an affiliate using Store credit, go to **Payouts** > **In-app payment >** Locate the payment you want to process. There are 2 possible cases: **Store Credit self-redemption** enabled and **Store Credit self-redemption** disabled.

A. If the **Store Credit self-redemption** is **disabled**, processing the payment will send a discount code to the affiliate. Simply click locate the payment in the Payments tab, and then click on **Give discount code.**

<figure><img src="/files/uEfxeyfevUCma8QTl2LN" alt="give discount code"><figcaption></figcaption></figure>

<figure><img src="/files/MsBoolGOlqTmGRDYIriI" alt="set up and confirm"><figcaption></figcaption></figure>

The system will then automatically create a random discount code with the exact commission amount you need to pay your affiliate.

The discount code will be displayed in the **Affiliate admin account** > **Payment** tab > **Detail** here:

<figure><img src="/files/mhoPdpC45mWaGDFqGyVf" alt="how it displays in affiliate account"><figcaption></figcaption></figure>

<figure><img src="/files/Gknito1dwQtRHop0fuoS" alt="payment detail"><figcaption></figcaption></figure>

B. If the **Store Credit self-redemption** is **enabled**, processing the payment will add some credits to the affiliate's store credit balance. From the store credit balance, your affiliate can freely generate discount codes with any value they want. On the merchant admin, simply go to **Payments > In-app Payment > Pay with Store credit** to process the payment.&#x20;

<figure><img src="/files/hQTu4QATQKjZ4vX3MavJ" alt="pay with store credit"><figcaption></figcaption></figure>

<figure><img src="/files/oBsAJf6nmwXiZWUiVEpJ" alt="add credit"><figcaption></figcaption></figure>

The Store credits will be added, and the affiliate can see their current store credit balance on their dashboard.

<figure><img src="/files/CHkLT82C19t6w794UD5a" alt="how it show on affiliate dashboard"><figcaption></figcaption></figure>

<figure><img src="/files/xcm2SaiiMM2UehF816Yx" alt="set up redemption amount"><figcaption></figcaption></figure>

On the **Affiliate account page** > **Payment** > **Use your credit**, the credit balance will be shown and your affiliates can enter their preferred coupon value to get the code:

<figure><img src="/files/VZu4ak4eNQil9I0ApOHb" alt="how affiliate can claim their store credit as discount code"><figcaption></figcaption></figure>

***For example***, if the affiliate chooses $10 as the value of the generated coupon, a coupon will be auto-generated on your Shopify Discounts section. The affiliate can copy the coupon and use it on the checkout page to save $10 on his/her purchase:

<figure><img src="/files/XGn0FLYshgG7GC0aBmXB" alt="the auto-created discount code"><figcaption></figcaption></figure>
