Paypal Orders
PayPal Orders is a PayPal API for managing PayPal order creation and payment processing workflows.
- Base URL:
https://api-m.paypal.com - Auth: OAuth 2.0 client-credentials — the tool fetches a token from
https://api-m.paypal.com/v1/oauth2/tokenusing yourclientId/clientSecret, then calls the API.
Operations
orders_get— GET /v2/checkout/orders/{id} — Show order detailsorders_create— POST /v2/checkout/orders — Create orderorders_patch— PATCH /v2/checkout/orders/{id} — Update orderorders_confirm— POST /v2/checkout/orders/{id}/confirm-payment-source — Confirm the Orderorders_authorize— POST /v2/checkout/orders/{id}/authorize — Authorize payment for orderorders_capture— POST /v2/checkout/orders/{id}/capture — Capture payment for order
Inputs
clientId/clientSecret— your paypal-orders OAuth app credentialsscope— OAuth scopes (optional; defaults from the spec)operation— one of the operations above- path parameters when an operation's path contains
{...} query— optional JSON object of query paramsbody— JSON object for create/update ops
Example
operation: orders_get
clientId: <your client id>
clientSecret: <your client secret>
Publishes
The keys a later task may reference as {{taskName.key}}. Referencing anything not listed here resolves to nothing at run time.
erroroperationresultstatus
Input Properties
Every property this tool accepts, from its own tool.iml.
| Property | Type | Required | Default | Description |
|---|---|---|---|---|
clientId |
string | yes | — | OAuth client ID for paypal-orders. |
clientSecret |
string | yes | — | OAuth client secret for paypal-orders. |
operation |
string | yes | — | One of: orders_get, orders_create, orders_patch, orders_confirm, orders_authorize, orders_capture |
scope |
string | no | https://uri.paypal.com/services/payments/payment https://uri.paypal.com/services/payments/payment/reference-transaction https://uri.paypal.com/services/payments/initiatepayment https://uri.paypal.com/services/payments/orders/deprecating-jssdk-migration-for-limited-merchants https://uri.paypal.com/services/payments/orders/client_sdk_orders_api https://uri.paypal.com/services/payments/orders/provision-card |
OAuth scopes (space-separated); default from the spec. |
id |
string | no | — | Path parameter id (required by some operations). |
query |
string | no | — | Optional query params as a JSON object string, e.g. {"limit": 10}. |
body |
string | no | — | Request body as a JSON object string (for create/update operations). |