PayPal Billing API

The Billing API from PayPal — 13 operation(s) for billing.

GitHub OpenAPI
Business capability
Subscription Lifecycle Management BC-4240

Operations 16

Each operation below carries the questions people ask an LLM about it and the instructions they give an agent to run it. Generated by API Evangelist overlay

POST /v1/billing/plans Create a billing plan · Create plan #
Ask an LLM
“How do I define a recurring price and billing cycle for subscriptions?”
“Can a new billing plan start in the ACTIVE state?”
Tell an agent
Create billing plan {name} for product {product_id} with billing cycles {billing_cycles} and payment preferences {payment_preferences}.
Create plan {name} in {status} state for product {product_id}, cycles {billing_cycles}, preferences {payment_preferences}.
GET /v1/billing/plans List billing plans · List plans #
Ask an LLM
“Which billing plans are available for a product?”
“Can I page through all my billing plans?”
Tell an agent
List billing plans for product {product_id}.
Show page {page} of billing plans, {page_size} per page.
GET /v1/billing/plans/{id} Get a billing plan · Show plan details #
Ask an LLM
“What are the billing cycles and payment preferences of one plan?”
“Can I look up a billing plan by its ID?”
Tell an agent
Show billing plan {id}.
Get the details of plan {id}.
PATCH /v1/billing/plans/{id} Update a billing plan · Update plan #
Ask an LLM
“How do I change what an active plan charges or how often?”
“Can I remove auto-billing on a plan that is already created?”
Tell an agent
Update plan {id} with new payment preferences.
Deactivate plan {id} by setting its status to INACTIVE.
POST /v1/billing/plans/{id}/activate Activate a billing plan · Activate plan #
Ask an LLM
“How do I make a billing plan live so subscriptions can be created from it?”
“Can I activate a plan that is still in CREATED status?”
Tell an agent
Activate billing plan {id}.
Make plan {id} active so subscriptions can be created from it.
POST /v1/billing/plans/{id}/deactivate Deactivate a billing plan · Deactivate plan #
Ask an LLM
“Can I pause a billing plan so no new subscriptions can be created from it?”
“What happens to existing subscriptions when I deactivate a plan?”
Tell an agent destructive · confirm first
Deactivate billing plan {id}.
Pause plan {id} so no new subscriptions can be created from it.
POST /v1/billing/plans/{id}/update-pricing-schemes Change a plan's pricing · Update pricing #
Ask an LLM
“How do I raise the price of a plan's regular billing cycle?”
“Can I update the pricing schemes on a plan after it is created?”
Tell an agent
Update the pricing schemes on plan {id} to {pricing_schemes}.
Change plan {id} to charge {pricing_schemes} per billing cycle.
POST /v1/billing/subscriptions Create a subscription · Create subscription #
Ask an LLM
“How do I subscribe a customer to a billing plan?”
“Can I set a start time and quantity when creating a subscription?”
Tell an agent
Create a subscription to plan {plan_id}.
Subscribe {subscriber} to plan {plan_id} starting {start_time} with quantity {quantity}.
GET /v1/billing/subscriptions/{id} Get a subscription · Show subscription details #
Ask an LLM
“What are the details of one subscription?”
“Can I include the plan and last failed payment when fetching a subscription?”
Tell an agent
Show subscription {id}.
Get subscription {id} with fields {fields}.
PATCH /v1/billing/subscriptions/{id} Update a subscription · Update subscription #
Ask an LLM
“How do I change the billing address on an existing subscription?”
“Can I stop a subscription from auto-billing outstanding charges?”
Tell an agent
Update subscription {id} to pay the outstanding balance with a bank account.
Change the billing address on subscription {id}.
POST /v1/billing/subscriptions/{id}/revise Change a subscription's plan or quantity · Revise plan or quantity of subscription #
Ask an LLM
“How do I switch a customer to a different plan or change their quantity?”
“Does changing a subscription's plan require the subscriber's consent?”
Tell an agent
Switch subscription {id} to plan {plan_id}.
Change the quantity of subscription {id} to {quantity}.
POST /v1/billing/subscriptions/{id}/suspend Suspend a subscription · Suspend subscription #
Ask an LLM
“How do I pause a customer's subscription temporarily?”
“What reason do I have to give when suspending a subscription?”
Tell an agent destructive · confirm first
Suspend subscription {id} because {reason}.
Pause subscription {id} temporarily with reason {reason}.
POST /v1/billing/subscriptions/{id}/cancel Cancel a subscription · Cancel subscription #
Ask an LLM
“How do I cancel a customer's subscription?”
“Can I record a reason when cancelling a subscription?”
Tell an agent destructive · confirm first
Cancel subscription {id} because {reason}.
End subscription {id} permanently with reason {reason}.
POST /v1/billing/subscriptions/{id}/activate Reactivate a subscription · Activate subscription #
Ask an LLM
“How do I turn a suspended subscription back on?”
“Can I reactivate a subscription with a reason?”
Tell an agent
Reactivate subscription {id}.
Activate subscription {id} again with reason {reason}.
POST /v1/billing/subscriptions/{id}/capture Capture an authorized payment on a subscription · Capture authorized payment on subscription #
Ask an LLM
“How do I charge a customer's account for a subscription payment?”
“Can I capture a subscription payment with a note and amount?”
Tell an agent
Capture {amount} on subscription {id} for note {note} as {capture_type}.
Charge subscription {id} {amount} ({capture_type}) with note {note}.
GET /v1/billing/subscriptions/{id}/transactions List a subscription's transactions · List transactions for subscription #
Ask an LLM
“What payments have been made on a subscription over a date range?”
“Can I see a subscription's transaction history between two dates?”
Tell an agent
List transactions for subscription {id} from {start_time} to {end_time}.
Show payments on subscription {id} between {start_time} and {end_time}.

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/paypal:paypal-billing-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

paypal-billing-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Paypal Subscriptions Billing API
  description: The Paypal Billing Subscriptions API is a tool that allows businesses to easily create, manage, and track customer subscriptions and recurring payments within their Paypal accounts.
  version: '1.6'
  contact: {}
servers:
- url: https://api-m.sandbox.paypal.com
  description: PayPal Sandbox Environment
- url: https://api-m.paypal.com
  description: PayPal Live Environment
tags:


# --- truncated at 32 KB (189 KB total) ---
# Full source: https://artifacts.apis.io/paypal/openapi/paypal-billing-api-openapi.yml