Skip to main content
PayPal logo

PayPal

Manage PayPal: orders, captures, refunds, invoices, payouts, subscriptions. Exposes 47 actions covering the full API surface the agent needs - read and write.

What it can do

MethodWhat it does
paypal_order_createCreate an order - POST /v2/checkout/orders.
paypal_order_getGet order details - GET /v2/checkout/orders/{id}.
paypal_order_updateUpdate order (before payment approval) - PATCH /v2/checkout/orders/{id}.
paypal_orders_listList orders - GET /v2/checkout/orders.
paypal_order_captureCapture a payment for an AUTHORIZE intent order - POST /v2/checkout/orders/{id}/capture.
paypal_capture_getGet capture (completed payment) details - GET /v2/payments/captures/{id}.
paypal_capture_refundRefund a capture (completed payment) - POST /v2/payments/captures/{id}/refund.
paypal_refund_getGet refund (transaction) details - GET /v2/payments/refunds/{id}.
paypal_authorization_getGet authorization details - GET /v2/payments/authorizations/{id}.
paypal_authorization_captureCapture an authorization - POST /v2/payments/authorizations/{id}/capture.
paypal_authorization_voidVoid (cancel) an authorization - DELETE /v2/payments/authorizations/{id}.
paypal_invoice_createCreate an invoice - POST /v2/invoicing/invoices.
paypal_invoice_getGet invoice details - GET /v2/invoicing/invoices/{id}.
paypal_invoice_updateUpdate an invoice - PUT /v2/invoicing/invoices/{id}.
paypal_invoices_listList invoices - GET /v2/invoicing/invoices.
paypal_invoice_sendSend invoice to recipient - POST /v2/invoicing/invoices/{id}/send.
paypal_invoice_remindSend invoice reminder - POST /v2/invoicing/invoices/{id}/remind.
paypal_invoice_cancelCancel invoice - POST /v2/invoicing/invoices/{id}/cancel.
paypal_invoice_record_paymentRecord a payment for an invoice - POST /v2/invoicing/invoices/{id}/record-payment.
paypal_invoice_deleteDelete invoice (DRAFT status only) - DELETE /v2/invoicing/invoices/{id}.
paypal_subscription_createCreate a subscription plan - POST /v1/billing/plans.
paypal_subscription_getGet subscription plan details - GET /v1/billing/plans/{id}.
paypal_subscription_updateUpdate subscription plan - PATCH /v1/billing/plans/{id}.
paypal_subscriptions_listList subscription plans - GET /v1/billing/plans.
paypal_subscription_activateActivate a subscription plan (APPROVAL_PENDING status) - POST /v1/billing/plans/{id}/activate.
paypal_subscription_suspendSuspend (pause) a subscription - POST /v1/billing/plans/{id}/suspend.
paypal_subscription_cancelCancel a subscription - POST /v1/billing/plans/{id}/deactivate.
paypal_subscription_captureManually trigger a payment capture on a subscription - POST /v1/billing/plans/{id}/capture.
paypal_product_createCreate a product - POST /v1/catalog/products.
paypal_product_getGet product details - GET /v1/catalog/products/{id}.
paypal_product_updateUpdate product - PATCH /v1/catalog/products/{id}.
paypal_products_listList products - GET /v1/catalog/products.
paypal_payout_createCreate a payout batch - POST /v1/payments/payouts.
paypal_payout_getGet payout batch status - GET /v1/payments/payouts/{id}.
paypal_payout_item_getGet individual payout item status - GET /v1/payments/payouts/{batch_id}/items/{item_id}.
paypal_disputes_listList disputes - GET /v1/customer/disputes.
paypal_dispute_getGet dispute details - GET /v1/customer/disputes/{id}.
paypal_dispute_updateUpdate dispute - POST /v1/customer/disputes/{id}/{action}.
paypal_get_account_detailsGet authenticated merchant account details - GET /v1/oauth2/token/userinfo.
paypal_get_payee_infoGet payee (merchant) info - GET /v1/customer/partners/{partner_id}.
paypal_list_transactionsList transactions - GET /v1/reporting/transactions.
paypal_get_transactionGet transaction details - GET /v1/reporting/transactions/{id}.
paypal_webhook_createCreate a webhook - POST /v1/notifications/webhooks.
paypal_webhooks_listList webhooks - GET /v1/notifications/webhooks.
paypal_webhook_getGet webhook details - GET /v1/notifications/webhooks/{id}.
paypal_webhook_updateUpdate webhook - PATCH /v1/notifications/webhooks/{id}.
paypal_webhook_deleteDelete webhook - DELETE /v1/notifications/webhooks/{id}.

How to get credentials

This connector uses an API key / token. Create one in the provider dashboard, then paste it into FlyMyAI:

  • PAYPAL_CLIENT_ID - PayPal Developer - Apps & Credentials - create REST app. (https://developer.paypal.com/dashboard/applications/)
  • PAYPAL_CLIENT_SECRET - Secret shown next to the client ID in your REST app.
  • PAYPAL_ENV (optional) - 'production' or 'sandbox' (default sandbox).

Fields to fill in FlyMyAI

FlyMyAI fieldWhere it comes from
PAYPAL_CLIENT_IDPayPal Developer - Apps & Credentials - create REST app.
PAYPAL_CLIENT_SECRETSecret shown next to the client ID in your REST app.
PAYPAL_ENV'production' or 'sandbox' (default sandbox).

Troubleshooting

  • 401 Unauthorized / 403 Forbidden - the token is wrong, expired, or missing a required scope - regenerate it.
  • 429 Too Many Requests - you hit the provider rate limit; retry after a short backoff.
  • Unexpected 4xx on writes - double-check required fields; the agent confirms before write actions.
We love our partners - FlyMy.AI builds with the best. Thanks, PayPal!