paypal_list_invoices

Pack: paypal · Endpoint: https://gateway.pipeworx.io/paypal/mcp

List your PayPal invoices. Returns invoice numbers, amounts, statuses, and dates. Use to track billing and outstanding payments.

Parameters

NameTypeRequiredDescription
_clientIdstringyesPayPal app Client ID
_clientSecretstringyesPayPal app Client Secret
_sandboxbooleannoUse sandbox environment (default: false)
pagenumbernoPage number (default 1)
page_sizenumbernoResults per page (default 20, max 100)

Example call

Arguments

{
  "_clientId": "your-paypal-client-id",
  "_clientSecret": "your-paypal-client-secret"
}

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_invoices","arguments":{"_clientId":"your-paypal-client-id","_clientSecret":"your-paypal-client-secret"}}}'

TypeScript (@pipeworx/sdk)

import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();

const result = await pipeworx.call('paypal_list_invoices', {
  "_clientId": "your-paypal-client-id",
  "_clientSecret": "your-paypal-client-secret"
});

More examples

{
  "_clientId": "your-paypal-client-id",
  "_clientSecret": "your-paypal-client-secret",
  "page": 2,
  "page_size": 50
}

Response shape

FieldTypeDescription
itemsarrayArray of invoices
total_itemsnumberTotal number of invoices
total_pagesnumberTotal number of pages
pagenumberCurrent page number
Full JSON Schema
{
  "type": "object",
  "description": "List of PayPal invoices",
  "properties": {
    "items": {
      "type": "array",
      "description": "Array of invoices",
      "items": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "description": "Invoice ID"
          },
          "number": {
            "type": "string",
            "description": "Invoice number"
          },
          "status": {
            "type": "string",
            "description": "Invoice status (e.g., DRAFT, SENT, PAID, CANCELLED)"
          },
          "amount": {
            "type": "object",
            "properties": {
              "currency_code": {
                "type": "string",
                "description": "Currency code"
              },
              "value": {
                "type": "string",
                "description": "Total invoice amount"
              }
            }
          },
          "due_date": {
            "type": "string",
            "description": "Due date in ISO 8601 format"
          },
          "create_time": {
            "type": "string",
            "description": "Creation timestamp"
          },
          "update_time": {
            "type": "string",
            "description": "Last update timestamp"
          }
        }
      }
    },
    "total_items": {
      "type": "number",
      "description": "Total number of invoices"
    },
    "total_pages": {
      "type": "number",
      "description": "Total number of pages"
    },
    "page": {
      "type": "number",
      "description": "Current page number"
    }
  }
}

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.

Regenerated from source · build May 9, 2026