paypal_orders
Create or retrieve PayPal orders with your client credentials. Supports sandbox mode and both CAPTURE and AUTHORIZE intents.
Instructions
Create or retrieve a PayPal order.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"client_id": "<client_id>",
"client_secret": "<client_secret>"
},
"name": "paypal_orders"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| action | No | create or get (default: get) | |
| intent | No | CAPTURE or AUTHORIZE (default: CAPTURE) | |
| sandbox | No | Use PayPal sandbox (default: false) | |
| order_id | No | Required for action='get' | |
| client_id | Yes | PayPal application Client ID | |
| client_secret | Yes | PayPal application Client Secret | |
| purchase_units | No | Required for action='create' |