PayPal

PayPal

PayPal payment platform

With emma's PayPal integration, you can manage orders, payments, invoices, products, subscriptions, payouts, and disputes. Automate your PayPal payment workflows.

Features

PayPal_Operator supports the following 47 tools:

CategoryTools
Account/Balance2
Tool NameDescription
paypal_get_userinfoGet PayPal account information
paypal_get_balanceGet account balance
Order Management4
Tool NameDescription
paypal_create_orderCreate a new order
paypal_get_orderGet order details
paypal_authorize_orderAuthorize an order
paypal_capture_orderCapture an order (confirm payment)
Payment Management7
Tool NameDescription
paypal_get_authorizationGet authorization details
paypal_capture_authorizationCapture an authorization
paypal_void_authorizationVoid an authorization
paypal_get_captureGet capture details
paypal_refund_captureRefund a capture
paypal_get_refundGet refund details
paypal_list_transactionsList transaction history
Invoice Management7
Tool NameDescription
paypal_create_draft_invoiceCreate a draft invoice
paypal_get_invoiceGet invoice details
paypal_list_invoicesList invoices
paypal_send_invoiceSend an invoice
paypal_cancel_invoiceCancel an invoice
paypal_delete_invoiceDelete a draft invoice
paypal_record_payment_for_invoiceRecord manual payment
Product Catalog4
Tool NameDescription
paypal_create_productCreate a product
paypal_get_productGet product details
paypal_list_productsList products
paypal_update_productUpdate a product
Subscriptions10
Tool NameDescription
paypal_create_planCreate a subscription plan
paypal_get_planGet plan details
paypal_list_plansList plans
paypal_activate_planActivate a plan
paypal_deactivate_planDeactivate a plan
paypal_get_subscriptionGet subscription details
paypal_cancel_subscriptionCancel a subscription
paypal_suspend_subscriptionSuspend a subscription
paypal_activate_subscriptionReactivate a subscription
paypal_list_subscription_transactionsList subscription transactions
Payouts4
Tool NameDescription
paypal_create_payoutCreate a payout
paypal_get_payout_batchGet payout batch details
paypal_get_payout_itemGet payout item details
paypal_cancel_payout_itemCancel an unclaimed payout item
Dispute Handling5
Tool NameDescription
paypal_list_disputesList disputes
paypal_get_disputeGet dispute details
paypal_accept_dispute_claimAccept a dispute claim
paypal_send_message_to_disputeSend a message to dispute
paypal_escalate_disputeEscalate dispute to PayPal
Webhooks4
Tool NameDescription
paypal_list_webhooksList webhooks
paypal_create_webhookCreate a webhook
paypal_delete_webhookDelete a webhook
paypal_list_available_eventsList available event types

Main Parameters

ParameterDescription
order_idOrder ID
intentOrder intent (CAPTURE/AUTHORIZE)
currency_codeCurrency code (USD, JPY, EUR, etc.)
valueAmount (string format)
invoice_idInvoice ID
subscription_idSubscription ID
plan_idPlan ID

Prerequisites

  • emma account
  • PayPal Developer account
  • Client ID and Client Secret

Setup

1. Install the package

npm install @duzzle/paypal-integration

2. Initialize

import { DuzzlePayPal } from '@duzzle/paypal-integration';

const paypal = new DuzzlePayPal({
  apiKey: process.env.DUZZLE_API_KEY
});

// OAuth connection is configured via Integrations page

3. Create Order

// Create a new order
const order = await paypal.createOrder({
  intent: 'CAPTURE',
  currency_code: 'USD',
  value: '100.00',
  description: 'Product purchase'
});

console.log('Order ID:', order.id);

© 2026 Duzzle Inc. All rights reserved.