# Generating PayPal REST credentials

{% hint style="danger" %}
PayPal has recently made some changes and do not allow you to get REST credentials for personal accounts anymore. One option is to upgrade to a business account, create credentials and call PayPal to downgrade. Any credentials you create, will continue to work.
{% endhint %}

{% hint style="danger" %}
When generating REST credentials, Transaction Search permission is not granted by default, once you grant it, it may take several hours for that change to take effect. When testing the settings, if you get **PERMISSION\_DENIED** error, make sure you have the Transaction Search permission checked and if you do, simply wait for the PayPal cache to recognize this change and try again in a few hours.
{% endhint %}

To obtain REST credentials follow these steps:

* Login to [PayPal Developer Dashboard](https://developer.paypal.com/developer/applications)
* Select the correct enviornment: Live or Sandbox
*

```
<figure><img src="/files/u9NWBXtFbvn4smz8C4gh" alt=""><figcaption></figcaption></figure>
```

* Navigate to Apps & Credentials on the left nav bar and click Create App
*

```
<figure><img src="/files/5W5DqHO3nwQtKr9TrKCB" alt=""><figcaption></figcaption></figure>
```

* Under REST API apps, click “Create App” button
* Give your app a name&#x20;
* On the next screen, your credentials will show. Copy the Client ID into the Client ID text box in Streams Manager and click on Show link to reveal the Secret. Copy the secret into the Client Secret text box in Streams Manager. **Make sure** no leading or trailing spaces are introduced while pasting
*

```
<figure><img src="/files/D6CH7kkKi9fDQ2oZPGGG" alt=""><figcaption></figcaption></figure>
```

* Scroll down to the bottom of the page and ensure that correct permissions are selected. **Transaction Search needs to be checked!**
*

```
<figure><img src="/files/6X5VdGAQ8jbb9CCTt5nA" alt=""><figcaption></figcaption></figure>
```

*
* Click Save Changes to save changes in PayPal
* Click Test button to test the settings in Streams Manager

**Given that Transaction search permission is not granted by default, once you grant it, it may take several hours for that change to take effect.** When testing the settings, if you get **PERMISSION\_DENIED** error, make sure you have the Transaction Search permission checked and if you do, simply wait for the PayPal cache to recognize this change and try again in a few hours.


---

# 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://streamsmanager.gitbook.io/streams-manager/configuration/settings/payment-gateways/paypal-settings/generating-paypal-rest-credentials.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.
