Paypal Invoicing V2
PayPal Invoicing is a PayPal API for creating, sending, tracking, and managing invoices for customer payments.
- Base URL:
https://api-m.sandbox.paypal.com - Auth: OAuth 2.0 client-credentials — the tool fetches a token from
/v1/oauth2/tokenusing yourclientId/clientSecret, then calls the API.
Operations
invoices_list— GET /v2/invoicing/invoices — List invoicesinvoices_get— GET /v2/invoicing/invoices/{invoice_id} — Show invoice detailstemplates_list— GET /v2/invoicing/templates — List templatestemplates_get— GET /v2/invoicing/templates/{template_id} — Show template detailsconnections_get— GET /v2/invoicing/accounting-sync/merchant/connections — List Connections.invoice_connection_details_get— GET /v2/invoicing/accounting-sync/invoices/{id}/connections — List Connection Status for an Invoice.
Inputs
clientId/clientSecret— your paypal-invoicing-v2 OAuth app credentialsscope— OAuth scopes (optional; defaults from the spec)operation— one of the operations above- path parameters when an operation's path contains
{...} query— optional JSON object of query paramsbody— JSON object for create/update ops
Example
operation: invoices_list
clientId: <your client id>
clientSecret: <your client secret>
Publishes
The keys a later task may reference as {{taskName.key}}. Referencing anything not listed here resolves to nothing at run time.
erroroperationresultstatus
Input Properties
Every property this tool accepts, from its own tool.iml.
| Property | Type | Required | Default | Description |
|---|---|---|---|---|
clientId |
string | yes | — | OAuth client ID for paypal-invoicing-v2. |
clientSecret |
string | yes | — | OAuth client secret for paypal-invoicing-v2. |
operation |
string | yes | — | One of: invoices_list, invoices_get, templates_list, templates_get, connections_get, invoice_connection_details_get |
scope |
string | no | https://uri.paypal.com/services/invoicing/invoices/read https://uri.paypal.com/services/invoicing/invoices/readwrite https://uri.paypal.com/services/invoicing/internal |
OAuth scopes (space-separated); default from the spec. |
id |
string | no | — | Path parameter id (required by some operations). |
invoice_id |
string | no | — | Path parameter invoice_id (required by some operations). |
template_id |
string | no | — | Path parameter template_id (required by some operations). |
query |
string | no | — | Query-string parameters as a JSON object string, e.g. {"limit": 50}. Parsed and url-encoded onto the request. |