PayPal integration
Payment processing platform API for online transactions and financial operations. Process payments, manage subscriptions, handle refunds, create invoices, and access transaction data. Essential for building e-commerce payment flows, subscription billing, and financial management applications.
Say what should happen.
The workflow builds itself.
Common PayPal use cases
- status check
- status verification
- event debugging
- payment tracking
- order verification
- payment collection
- subscription audit
- subscription setup
- subscription cancellation
- AR collection
What you can do with PayPal
Each of these is one operation on one endpoint, available both as a workflow step and as a tool an AI agent can call on its own. Nothing bundles several operations into one action, so what a run did stays readable afterwards.
Most endpoints run on the free plan. A few, mainly the ones that publish on your behalf, need a paid plan.
Invoice, 11 operations
cancel_invoiceCancel invoicePOSTCancels a sent invoice. Void invoice and notify recipient.create_invoiceCreate invoicePOSTCreates a PayPal invoice draft. Generate invoices with line items and recipient details.delete_invoiceDelete invoiceDELETEDeletes a draft or scheduled invoice. Remove unwanted invoices.generate_invoice_numberGenerate invoice numberPOSTGenerates the next sequential invoice number. Auto-increment invoice numbers.generate_invoice_qr_codeGenerate invoice qr codePOSTGenerates QR code for an invoice. Create scannable payment link.get_invoiceGet invoiceGETRetrieves invoice details by ID. Check invoice status and amounts.list_invoicesList invoicesGETLists invoices with pagination. Retrieve all merchant invoices.remind_invoiceRemind invoicePOSTSends payment reminder for an invoice. Follow up on unpaid invoices.search_invoicesSearch invoicesPOSTSearches invoices by various criteria. Find specific invoices.send_invoiceSend invoicePOSTSends a PayPal invoice to the recipient. Deliver draft invoices via email with payment link.update_invoiceUpdate invoicePUTFully updates a draft invoice. Replace all invoice details.
Plan, 7 operations
activate_billing_planActivate billing planPOSTActivates a billing plan. Enable plan for subscription creation.create_billing_planCreate billing planPOSTCreates a billing plan for subscriptions. Define pricing and billing cycles.deactivate_billing_planDeactivate billing planPOSTDeactivates a billing plan. Disable plan for new subscriptions.get_billing_planGet billing planGETRetrieves billing plan details by ID. Check plan configuration and status.list_billing_plansList billing plansGETLists all billing plans. Filter by product and paginate results.update_billing_planUpdate billing planPATCHUpdates a billing plan. Modify description, payment preferences, or taxes.update_plan_pricingUpdate plan pricingPOSTUpdates pricing schemes for a billing plan. Change subscription prices.
Subscription, 7 operations
activate_subscriptionActivate subscriptionPOSTActivates a suspended subscription. Resume billing.cancel_subscriptionCancel subscriptionPOSTCancels a PayPal subscription. Stop recurring billing with cancellation reason.create_subscriptionCreate subscriptionPOSTCreates a PayPal subscription. Start recurring billing with a billing plan.get_subscriptionGet subscriptionGETRetrieves PayPal subscription details. Check subscription status and billing info.revise_subscriptionRevise subscriptionPOSTRevises subscription plan or quantity. Upgrade or downgrade subscriptions.suspend_subscriptionSuspend subscriptionPOSTSuspends an active subscription. Pause billing temporarily.update_subscriptionUpdate subscriptionPATCHUpdates an active or suspended subscription. Modify subscription attributes.
Webhook, 6 operations
create_webhookCreate webhookPOSTCreates a webhook subscription. Receive event notifications.delete_webhookDelete webhookDELETEDeletes a webhook subscription. Stop receiving notifications.get_webhookGet webhookGETRetrieves webhook details by ID. Check webhook configuration.list_webhooksList webhooksGETLists all webhooks for the application. View webhook subscriptions.update_webhookUpdate webhookPATCHUpdates webhook URL or event types. Modify subscription.verify_webhook_signatureVerify webhook signaturePOSTVerifies webhook signature authenticity. Validate PayPal notifications.
Authorization, 4 operations
authorize_orderAuthorize orderPOSTAuthorizes payment for a PayPal order. Hold funds without immediate capture.get_authorizationGet authorizationGETRetrieves authorization details by ID. Check authorization status and amounts.reauthorize_authorizationReauthorize authorizationPOSTReauthorizes an expired authorization. Extend authorization period.void_authorizationVoid authorizationPOSTVoids an authorized payment. Release held funds without capture.
Event, 4 operations
get_webhook_eventGet webhook eventGETRetrieves webhook event details. View specific notification.list_webhook_eventsList webhook eventsGETLists webhook event notifications. View event history.resend_webhook_eventResend webhook eventPOSTResends a webhook event notification. Retry failed deliveries.simulate_webhook_eventSimulate webhook eventPOSTSimulates a webhook event for testing. Send test notifications.
Order, 4 operations
confirm_payment_sourceConfirm payment sourcePOSTConfirms payer intent with payment source. Validate payment method before capture.create_orderCreate orderPOSTCreates a PayPal payment order. Initialize checkout with amount and redirect URLs.get_orderGet orderGETRetrieves PayPal order details by ID. Check order status and payment information.update_orderUpdate orderPATCHUpdates a PayPal order before capture. Modify amounts, shipping, or purchase units.
Payment, 4 operations
capture_orderCapture orderPOSTCaptures payment for an approved PayPal order. Complete the transaction after buyer approval.capture_subscription_paymentCapture subscription paymentPOSTCaptures authorized payment from subscription. Collect outstanding balance.delete_invoice_paymentDelete invoice paymentDELETEDeletes a recorded payment from an invoice. Remove incorrect payment entries.record_invoice_paymentRecord invoice paymentPOSTRecords external payment for an invoice. Track offline payments.
Payout, 4 operations
cancel_payout_itemCancel payout itemPOSTCancels an unclaimed payout item. Return funds before auto-expiry.create_payoutCreate payoutPOSTCreates PayPal payout to send money to recipients. Mass payments via email, phone, or PayPal ID.get_payoutGet payoutGETRetrieves PayPal payout batch details. Check batch status and individual payment items.get_payout_itemGet payout itemGETRetrieves payout item details. Check individual payment status.
Refund, 4 operations
delete_invoice_refundDelete invoice refundDELETEDeletes a recorded refund from an invoice. Remove incorrect refund entries.get_refundGet refundGETRetrieves refund details by ID. Check refund status and amounts.record_invoice_refundRecord invoice refundPOSTRecords refund for an invoice. Track external refunds.refund_captureRefund capturePOSTRefunds a captured PayPal payment. Issue full or partial refunds to buyers.
Capture, 2 operations
capture_authorizationCapture authorizationPOSTCaptures an authorized PayPal payment. Convert authorization to actual charge.get_captureGet captureGETRetrieves capture details by ID. Check capture status and amounts.
Event type, 2 operations
list_available_event_typesList available event typesGETLists all available webhook event types. View subscribable events.list_webhook_event_typesList webhook event typesGETLists event types subscribed for a webhook. View subscribed events.
Tracking, 2 operations
add_order_trackingAdd order trackingPOSTAdds shipping tracking to a PayPal order. Provide carrier and tracking number.update_order_trackingUpdate order trackingPATCHUpdates or cancels tracking information for a PayPal order.
Transaction, 2 operations
list_subscription_transactionsList subscription transactionsGETLists transactions for a subscription. View payment history.list_transactionsList transactionsGETLists transactions for the account. Search and filter payment history.
Balance, 1 operation
list_balancesList balancesGETLists account balances. View available and pending funds by currency.
Token, 1 operation
get_access_tokenGet access tokenPOSTGets PayPal OAuth 2.0 access token. Authenticate API requests with client credentials.
PayPal API rate limits
PayPal does not publish a formal rate-limit policy. When traffic is deemed abusive, requests return HTTP 429 with error code RATE_LIMIT_REACHED. No standardized rate-limit headers (e.g., X-RateLimit-Remaining) are documented. The Payouts API has a documented limit of ~400 POSTs per batch payout request. Recommended client behavior: cache OAuth tokens until expiry (~9h), use webhooks instead of polling, and retry 429 responses with exponential backoff.
These are the limits PayPal documents, not ones LiveContext measured. They can change and often depend on your plan, so check the PayPal documentation for current values.
Use PayPal from Claude Code, Cursor or Codex
Connect PayPal in LiveContext, create an API key in Settings, then add the LiveContext MCP server to your client. Its PayPal operations become tools the client can call, next to every other integration you connected.
claude mcp add --transport http livecontext https://livecontext.ai/mcp --header "X-API-Key: YOUR_API_KEY"[mcp_servers.livecontext]
url = "https://livecontext.ai/mcp"
[mcp_servers.livecontext.http_headers]
"X-API-Key" = "YOUR_API_KEY"{
"mcpServers": {
"livecontext": {
"type": "http",
"url": "https://livecontext.ai/mcp",
"headers": {
"X-API-Key": "YOUR_API_KEY"
}
}
}
}How to connect PayPal
- Create your workspace
Sign up free. Nothing to install.
- Connect PayPal once
Add your PayPal connection in Settings. Every tool from this integration reuses it, and secrets are encrypted at rest and visible only to you.
- Describe the job in chat
The workflow builds itself in front of you and picks the endpoints it needs. Drag the steps yourself on the canvas whenever you would rather be explicit.
PayPal integration FAQ
What can you do with the PayPal integration?
LiveContext exposes 65 operations on PayPal, covering invoice, plan, subscription and webhook. Common uses include status check, status verification and event debugging.
What are the PayPal API rate limits?
PayPal does not publish a formal rate-limit policy. When traffic is deemed abusive, requests return HTTP 429 with error code RATE_LIMIT_REACHED. No standardized rate-limit headers (e.g., X-RateLimit-Remaining) are documented. The Payouts API has a documented limit of ~400 POSTs per batch payout request. Recommended client behavior: cache OAuth tokens until expiry (~9h), use webhooks instead of polling, and retry 429 responses with exponential backoff. Limits are set by PayPal and can depend on your plan.
