# Pay affiliates in app with PayPal

### ✅ How Paying Affiliates Works

Jaka does not pay affiliates automatically.

Instead:

1. Affiliates earn commissions from approved sales
2. You review pending payouts
3. You manually confirm and send payments

Using PayPal In-App payments lets you:

* Pay affiliates faster
* Keep payout records in one place
* Mark commissions as **Paid** automatically

***

### ⚙️ Step 1: Get PayPal API Credentials

To enable in-app payments, you’ll need **Client ID** and **Client Secret** from PayPal.

1. Log into your PayPal [here](https://developer.paypal.com/dashboard/) and click on **Log into Dashboard**
2. Make sure that the toggle  “**Live**” is on and the option **Payouts** is selected&#x20;

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

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

Note:&#x20;

On the **My Account** page, scroll down to the **Permissions** section > **Payouts**. If there's a green checkmark in the "Live" column for Payouts, it means that Live Payouts has been enabled for your account.&#x20;

But if there isn't, you will see the “Enable...” link to click through and provide the required information for PayPal to enable it.

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

3. Open **My Apps & Credentials**
4. Create a new **REST App**

Start by assigning a PayPal app name. Click on the blue “Create App” button to proceed. A short form will appear.

<br>

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

5. Copy the **Client ID** and **Secret Key**

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

> 💡 Tip: Use a **PayPal Business account** to avoid payment limits

***

### ⚙️ Step 2: Connect PayPal to Jaka

1. Open the app > click **Settings** > **Third-party integration**
2. In **Payment with PayPal** > click **Connect** button&#x20;

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

3. Paste:

* **Client ID**
* **Client Secret**

4. Create an **App Password** (used to confirm payouts)

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

5. Click **Save** to complete the integration

***

### ⚙️ Step 3: Collect Affiliate Payment Information

To receive payments, affiliates must provide their **PayPal email**.

This happens automatically when:

* Affiliates complete their **profile in affiliate Dashboard**&#x20;
* They select **PayPal** as their payment method

You don’t need to request payment info manually. <br>

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

***

### ⚙️ Step 4: Review Pending Payouts

Before paying, always review payouts:

1. Go to **Payouts** > open the **Pending** tab
2. Check:
   * Affiliate name
   * Total sales
   * Commission amount

This ensures accuracy before sending money.

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

***

### ⚙️ Step 5: Pay Affiliates with PayPal

When you’re ready to pay:

1. Select one or more pending payouts
2. Click **Mark as paid**
3. Review payment details
4. Confirm payment

Once completed:

* Payment is sent via PayPal
* Payout status changes to **Paid**
* Affiliates see the update immediately

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

***

### ✅ What Happens After Payment?

* Commission is marked **Paid**
* Affiliate receives PayPal funds

***

### ▶️ Tutorial video&#x20;

{% embed url="<https://youtu.be/PfPRKRngtU0?si=W8_7plubX0Gu2STA>" %}


---

# 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.jaka.app/shopify/payouts/paying-affiliates/pay-affiliates-in-app-with-paypal.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.
