paypal_orders
Create a new PayPal order or retrieve an existing one using your client ID and secret. Supports sandbox mode and capture or authorize intent.
Instructions
Create or retrieve a PayPal order.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| client_id | Yes | PayPal application Client ID | |
| client_secret | Yes | PayPal application Client Secret | |
| action | No | create or get (default: get) | |
| order_id | No | Required for action='get' | |
| intent | No | CAPTURE or AUTHORIZE (default: CAPTURE) | |
| purchase_units | No | Required for action='create' | |
| sandbox | No | Use PayPal sandbox (default: false) |