Skip to main content

Setup

1

Get credentials

Go to the PayPal Developer Portal and create an app under My Apps & Credentials. Add your redirect URI:
Make sure to enable Log In with PayPal for the app.
2

Configure

lib/kavach.ts

Scopes

Default scopes: openid, email
PayPal supports both sandbox and live environments. Use sandbox credentials during development and switch to live credentials before going to production.

Endpoints

Last modified on April 29, 2026