PayPal Subscriptions API Demo (Sandbox)

Products API

Create Product (POST /v1/catalogs/products)



List Products (GET /v1/catalogs/products)




Show Product (GET /v1/catalogs/products/{id})


Update Product (PATCH /v1/catalogs/products/{id})




Plans API

Create Plan (POST /v1/billing/plans)



List Plans (GET /v1/billing/plans)





Show Plan (GET /v1/billing/plans/{id})


Update Plan (PATCH /v1/billing/plans/{id})




Activate Plan (POST /v1/billing/plans/{id}/activate)


Deactivate Plan (POST /v1/billing/plans/{id}/deactivate)


Update Pricing (POST /v1/billing/plans/{id}/update-pricing-schemes)




Subscriptions API

Create Subscription (POST /v1/billing/subscriptions)



List Subscriptions (GET /v1/billing/subscriptions)











Show Subscription (GET /v1/billing/subscriptions/{id})



Update Subscription (PATCH /v1/billing/subscriptions/{id})




Revise Subscription (POST /v1/billing/subscriptions/{id}/revise)




Suspend Subscription (POST /v1/billing/subscriptions/{id}/suspend)




Cancel Subscription (POST /v1/billing/subscriptions/{id}/cancel)




Activate Subscription (POST /v1/billing/subscriptions/{id}/activate)




Capture Subscription (POST /v1/billing/subscriptions/{id}/capture)




List Transactions (GET /v1/billing/subscriptions/{id}/transactions)