paypal_list_transactions
Pack: paypal · Endpoint: https://gateway.pipeworx.io/paypal/mcp
Find PayPal transactions within a date range. Returns amount, status, payer info, and transaction IDs. Use to audit payments or track cash flow.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
_clientId | string | yes | PayPal app Client ID |
_clientSecret | string | yes | PayPal app Client Secret |
_sandbox | boolean | no | Use sandbox environment (default: false) |
start_date | string | yes | Start date in ISO 8601 format (e.g., 2024-01-01T00:00:00Z) |
end_date | string | yes | End date in ISO 8601 format (e.g., 2024-12-31T23:59:59Z) |
Example call
Arguments
{
"_clientId": "your-paypal-client-id",
"_clientSecret": "your-paypal-client-secret",
"start_date": "2024-01-01T00:00:00Z",
"end_date": "2024-12-31T23:59:59Z"
}
curl
curl -X POST https://gateway.pipeworx.io/paypal/mcp \
-H 'Content-Type: application/json' \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"paypal_list_transactions","arguments":{"_clientId":"your-paypal-client-id","_clientSecret":"your-paypal-client-secret","start_date":"2024-01-01T00:00:00Z","end_date":"2024-12-31T23:59:59Z"}}}'
TypeScript (@pipeworx/sdk)
import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();
const result = await pipeworx.call('paypal_list_transactions', {
"_clientId": "your-paypal-client-id",
"_clientSecret": "your-paypal-client-secret",
"start_date": "2024-01-01T00:00:00Z",
"end_date": "2024-12-31T23:59:59Z"
});
More examples
{
"_clientId": "your-paypal-client-id",
"_clientSecret": "your-paypal-client-secret",
"start_date": "2024-09-01T00:00:00Z",
"end_date": "2024-09-30T23:59:59Z",
"_sandbox": true
}
Response shape
| Field | Type | Description |
|---|---|---|
transaction_details | array | Array of transactions |
page | number | Current page number |
total_items | number | Total number of transactions |
total_pages | number | Total number of pages |
Full JSON Schema
{
"type": "object",
"description": "List of PayPal transactions within a date range",
"properties": {
"transaction_details": {
"type": "array",
"description": "Array of transactions",
"items": {
"type": "object",
"properties": {
"transaction_id": {
"type": "string",
"description": "Unique transaction ID"
},
"transaction_date": {
"type": "string",
"description": "Transaction date in ISO 8601 format"
},
"transaction_amount": {
"type": "object",
"properties": {
"currency_code": {
"type": "string",
"description": "Currency code (e.g., USD)"
},
"value": {
"type": "string",
"description": "Transaction amount"
}
}
},
"payer_name": {
"type": "object",
"properties": {
"given_name": {
"type": "string",
"description": "First name"
},
"surname": {
"type": "string",
"description": "Last name"
}
}
},
"payer_email": {
"type": "string",
"description": "Payer email address"
},
"transaction_status": {
"type": "string",
"description": "Transaction status (e.g., S, D, F)"
}
}
}
},
"page": {
"type": "number",
"description": "Current page number"
},
"total_items": {
"type": "number",
"description": "Total number of transactions"
},
"total_pages": {
"type": "number",
"description": "Total number of pages"
}
}
}
Connect
Add this to your MCP client config, or use one-click install buttons:
{
"mcpServers": {
"paypal": {
"url": "https://gateway.pipeworx.io/paypal/mcp"
}
}
}
See Getting Started for client-specific install steps.