- App Registration
- Sandbox Testing
- API Integration
Understanding scopes
Scopes define your app’s permissions and access levels to PayPal services. The scope field in the authentication response shows all available permissions for your app.Common PayPal API scopes
Payment processing
https://uri.paypal.com/services/payments/payment/authcapture
- Process payments and captureshttps://uri.paypal.com/services/payments/payment
- Real-time payment processinghttps://uri.paypal.com/services/payments/refund
- Process refundshttps://uri.paypal.com/services/payments
- General payments API access
Vault services
https://uri.paypal.com/services/vault/payment-tokens/creditcard
- Store credit card infohttps://uri.paypal.com/services/vault/payment-tokens/read
- Manage stored credit cards
Business services
https://uri.paypal.com/services/invoicing
- Create and manage invoiceshttps://uri.paypal.com/services/subscriptions
- Subscription managementhttps://uri.paypal.com/services/payments/payouts
- Send payouts
Dispute management
https://uri.paypal.com/services/disputes/read-buyer
- Read buyer dispute infohttps://uri.paypal.com/services/disputes/read-seller
- Read seller dispute infohttps://uri.paypal.com/services/disputes/update-seller
- Update seller dispute status
System integration
https://uri.paypal.com/services/webhooks
- Webhook managementopenid
- OpenID Connect authentication
PayPal API credentials
PayPal REST APIs use two types of credentials for authentication: Client ID: A public identifier for your PayPal app. Safe to use in client-side code and sufficient for basic payment buttons and card fields. Client Secret: A private key that verifies your app for API calls. Must be kept secure and used only server-side.Getting credentials
Obtain credentials through the PayPal Developer Dashboard:- New accounts get a “Default Application” with ready-to-use credentials
- Create additional apps through “Create App” in Apps & Credentials
- Copy the client ID and client secret for your setup