Skip to main content

paypal-client

pip install paypal-rest-api

Example

from paypal_client.api import PayPal

paypal = PayPal(APP_CLIENT_ID, APP_SECRET)

product = paypal.create_product(name="Video Streaming Service", description="Video Streaming Service basic plan", type="SERVICE")
plan = paypal.create_plan(product_id=product["id"], name="Video Streaming Service Plan", description="Video Streaming Service basic plan", frequency="MONTH", price=10)
subscription = paypal.create_subscription(plan_id=plan["id"])
print(paypal.show_subscription_details(subscription["id"]))

Metadata

Release files for paypal-rest-api 0.1.7

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for paypal-rest-api 0.1.7
File Size Uploaded
paypal_rest_api-0.1.7.tar.gz 4.1 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for paypal-rest-api 0.1.7
File Interpreter ABI Platform
paypal_rest_api-0.1.7-py3-none-any.whl Python 3 none any Details

Total release size: 9.4 kB

Release files / paypal_rest_api-0.1.7.tar.gz

Download URL paypal_rest_api-0.1.7.tar.gz
Size 4.1 kB
Tags Source
SHA-256 checksum
How to use checksums
49539e0af81f24a6adfe3be16704353fc65eadb05b684bf1a05b47c8f8f4f7b4
BLAKE2b-256 checksum
How to use checksums
cb800845a7a3daa4e8c4e8f6111b15a4aded64634f5904a720f2d7858622f779
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.9.23

Release files / paypal_rest_api-0.1.7-py3-none-any.whl

Download URL paypal_rest_api-0.1.7-py3-none-any.whl
Size 5.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
fe71472c0df5b873d682ab23f376a9ab4c2180cc0e134f2d574d6ccead1a7ff6
BLAKE2b-256 checksum
How to use checksums
fac0599eb82f442968d70d7f9ad33c2a5b0627a72eed52cfbed7feaa3f19cfc0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.9.23

Release history Release notifications | RSS feed

This release

0.1.7 This release

2 release files

0.1.6

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page