PayPal is an online payments platform for accepting payments, billing, and payouts. Integrating PayPal with Frontegg lets your application create and capture orders, attach shipment tracking, refund captures, manage invoices and chase unpaid ones, run subscriptions with their plans and products, send payouts, handle disputes, and search transactions on behalf of your users — all through Frontegg's integration layer (PayPal REST API). PayPal authenticates with OAuth 2.0 client credentials.
Prerequisites
Prerequisites
- A PayPal account (a Business account is required for live credentials)
- Access to the PayPal Developer Dashboard to create a REST API app
PayPal uses the OAuth 2.0 client credentials grant — an app-to-app flow with no browser step or redirect URL. You create a REST API app in the PayPal Developer Dashboard, which issues a Client ID and Secret, and the integration exchanges them for a short-lived access token on each request.
Sign in to the PayPal Developer Dashboard and open Apps & Credentials. Use the Sandbox / Live toggle to choose the environment — sandbox and live apps have separate credentials. Your account starts with a Default Application, or click Create App to add one.

Open your app. Copy the Client ID and reveal and copy the Secret.
Keep your Secret safe
Keep your Secret safe
The Secret grants access to your account through the API. Treat it like a password and never expose it in client-side code or commit it to version control. You can add or delete secrets on the app page.

Scroll to Features on the app page and enable the capabilities the integration should use — for example Invoicing, Subscriptions, Payouts, Customer disputes, and Transaction search. PayPal grants only the matching scopes to tokens issued for the app, and drops the rest from the token without failing the request. A missing feature therefore does not stop the integration from connecting — it surfaces later, as a NOT_AUTHORIZED error on the affected operation. If a tool fails that way, check this section first.

Once you have your credentials, configure the integration in the Frontegg portal:
- Open the Frontegg portal and navigate to [ENVIRONMENT] → Integrations → PayPal.
- Enter the Client ID and Client Secret.
- Enable Use sandbox environment only if you entered sandbox credentials. Leave it off for live credentials.
- Click Save.
The integration requests the following scopes, granted through the app's Features. All scopes except openid share the prefix https://uri.paypal.com, abbreviated as ... below.
| Scope | Description |
|---|---|
.../services/payments/realtimepayment | Create and manage orders |
.../services/payments/payment | Attach and correct shipment tracking on orders |
.../services/payments/payment/authcapture | Authorize, capture, and reauthorize payments |
.../services/payments/refund | Refund captured payments |
.../services/invoicing | Create, send, and manage invoices |
.../services/subscriptions | Manage subscriptions, plans, and products |
.../payments/payouts | Send payouts |
.../services/disputes/read-seller | Read disputes |
.../services/disputes/update-seller | Respond to disputes |
.../services/reporting/search/read | Search transactions and read account balances |
openid | Read the connected account's profile |
Keep your credentials secure
Keep your credentials secure
Never share or commit your Secret to version control.