Paypal Billing Subscriptions V1
PayPal Billing Subscriptions is a PayPal API for creating and managing recurring subscription billing plans and subscriber 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
plans_list— GET /v1/billing/plans — List plansplans_get— GET /v1/billing/plans/{id} — Show plan detailssubscriptions_get— GET /v1/billing/subscriptions/{id} — Show subscription detailssubscriptions_transactions— GET /v1/billing/subscriptions/{id}/transactions — List transactions for subscriptionplans_create— POST /v1/billing/plans — Create planplans_patch— PATCH /v1/billing/plans/{id} — Update plan
Inputs
clientId/clientSecret— your paypal-billing-subscriptions-v1 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: plans_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-billing-subscriptions-v1. |
clientSecret |
string | yes | — | OAuth client secret for paypal-billing-subscriptions-v1. |
operation |
string | yes | — | One of: plans_list, plans_get, subscriptions_get, subscriptions_transactions, plans_create, plans_patch |
scope |
string | no | https://uri.paypal.com/services/subscriptions |
OAuth scopes (space-separated); default from the spec. |
id |
string | no | — | Path parameter id (required by some operations). |
body |
string | no | — | Request body as a JSON object string (for create/update operations). |
query |
string | no | — | Query-string parameters as a JSON object string, e.g. {"limit": 50}. Parsed and url-encoded onto the request. |