> ## Documentation Index
> Fetch the complete documentation index at: https://docs.gr4vy.com/llms.txt
> Use this file to discover all available pages before exploring further.

# PayPal

> Connect to PayPal to accept PayPal and PayPal Pay Later.

PayPal is a digital wallet that enables buyers to pay using their PayPal balance, bank accounts, or cards.

## Supported payment methods

| Method                                      | Countries            | Currencies            | Notes                                                |
| ------------------------------------------- | -------------------- | --------------------- | ---------------------------------------------------- |
| [PayPal](./paypal-paypal)                   | `AD`, `AE`, 166 more | `AUD`, `BRL`, 24 more | Buyer pays with PayPal balance, bank, or card.       |
| [PayPal Pay Later](./paypal-paypalpaylater) | `AD`, `AE`, 166 more | `AUD`, `BRL`, 24 more | Pay Later availability depends on buyer eligibility. |

## Setup

PayPal provides a self-service sign-up for a sandbox account. To sign up for an
account visit the
[sign-up page](https://www.paypal.com/webapps/mpp/account-selection) and fill
in the details, ensuring to choose `Business Account` when prompted.

## Credentials

When setting up PayPal in the dashboard, configure the following credentials,
which are obtained from PayPal:

* **Client ID**: Find this in the [PayPal Developer Portal](https://developer.paypal.com) under **Apps & Credentials** -> **REST API Apps** -> **Your App**.
* **Client secret**: Find this in the [PayPal Developer Portal](https://developer.paypal.com) under **Apps & Credentials** -> **REST API Apps** -> **Your App**.
* **Webhook ID**: Create a webhook in the [PayPal Merchant Dashboard](https://www.paypal.com/signin) using the URL shown after you set up the connector. PayPal returns a webhook ID used to verify incoming webhook authenticity.
* **BN code**: Optional field that identifies the integration partner to PayPal. Use your own value if you are already an integration partner.
* **Merchant ID**: Find this in the [PayPal Merchant Dashboard](https://www.paypal.com/signin) under **Account settings** -> **Business Information**.
