Paypal Get Invoice
paypal_get_invoiceGet full details of a PayPal invoice by ID. Returns line items, amounts, due dates, and payment status.
Example tool call
This call uses example arguments supplied in the tool’s input schema.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"_clientId": "your-paypal-client-id",
"invoice_id": "INV2-1234-5678-9ABC-DEF0",
"_clientSecret": "your-paypal-client-secret"
},
"name": "paypal_get_invoice"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| _sandbox | No | Use sandbox environment (default: false) | |
| _clientId | Yes | PayPal app Client ID | |
| invoice_id | Yes | PayPal invoice ID (e.g., INV2-XXXX-XXXX-XXXX-XXXX) | |
| _clientSecret | Yes | PayPal app Client Secret |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | Invoice ID | |
| items | No | Invoice line items | |
| amount | No | ||
| number | No | Invoice number | |
| status | No | Invoice status | |
| customer | No | ||
| due_date | No | Due date in ISO 8601 format | |
| create_time | No | Creation timestamp | |
| update_time | No | Last update timestamp |