PayPal
Source: https://runstack.engineer/docs/toolkits/paypal
Checkout orders, captures and refunds, payouts, invoicing, and transaction reporting via PayPal REST.
Tools (16):
| Tool | Description |
|---|---|
paypalCreateOrder | Create a Checkout order (POST /v2/checkout/orders). Set intent CAPTURE or AUTHORIZE and purchase_units with amount/currency. |
paypalGetOrder | Get a Checkout order by ID (GET /v2/checkout/orders/{orderId}). |
paypalPatchOrder | Patch a Checkout order (PATCH /v2/checkout/orders/{orderId}) using JSON Patch operations array. |
paypalCaptureOrder | Capture payment for an approved order (POST /v2/checkout/orders/{orderId}/capture). |
paypalAuthorizeOrder | Authorize payment on an order for later capture (POST /v2/checkout/orders/{orderId}/authorize). |
paypalGetCapture | Get captured payment details (GET /v2/payments/captures/{captureId}). |
paypalRefundCapture | Refund a captured payment fully or partially (POST /v2/payments/captures/{captureId}/refund). |
paypalGetRefund | Get refund details (GET /v2/payments/refunds/{refundId}). |
paypalCreatePayout | Create a batch payout (POST /v1/payments/payouts). Requires sender_batch_header and items array. |
paypalGetPayoutBatch | Get payout batch status (GET /v1/payments/payouts/{payoutBatchId}). |
paypalGetPayoutItem | Get one payout item (GET /v1/payments/payouts-item/{payoutItemId}). |
paypalCreateInvoice | Create a draft invoice (POST /v2/invoicing/invoices). Pass full invoice body. |
paypalGetInvoice | Get invoice details (GET /v2/invoicing/invoices/{invoiceId}). |
paypalListInvoices | List invoices with optional page filters (GET /v2/invoicing/invoices). |
paypalSendInvoice | Send an invoice to recipients (POST /v2/invoicing/invoices/{invoiceId}/send). Optional subject and note. |
paypalListTransactions | List account transactions in a time range (GET /v1/reporting/transactions). startDate and endDate are ISO 8601 UTC. |