{"id":19888827,"url":"https://github.com/paypal/paypal-python-server-sdk","last_synced_at":"2025-10-09T13:32:26.972Z","repository":{"id":256261423,"uuid":"847886304","full_name":"paypal/PayPal-Python-Server-SDK","owner":"paypal","description":null,"archived":false,"fork":false,"pushed_at":"2025-05-27T18:31:01.000Z","size":897,"stargazers_count":16,"open_issues_count":1,"forks_count":9,"subscribers_count":7,"default_branch":"main","last_synced_at":"2025-10-09T13:32:04.721Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/paypal.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2024-08-26T18:25:23.000Z","updated_at":"2025-10-01T05:07:26.000Z","dependencies_parsed_at":"2025-03-20T19:38:32.800Z","dependency_job_id":"edc7b315-a771-4648-839c-bf46bfd7c003","html_url":"https://github.com/paypal/PayPal-Python-Server-SDK","commit_stats":null,"previous_names":["paypal/paypal-python-server-sdk"],"tags_count":9,"template":false,"template_full_name":null,"purl":"pkg:github/paypal/PayPal-Python-Server-SDK","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/paypal%2FPayPal-Python-Server-SDK","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/paypal%2FPayPal-Python-Server-SDK/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/paypal%2FPayPal-Python-Server-SDK/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/paypal%2FPayPal-Python-Server-SDK/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/paypal","download_url":"https://codeload.github.com/paypal/PayPal-Python-Server-SDK/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/paypal%2FPayPal-Python-Server-SDK/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279001479,"owners_count":26083102,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-10-09T02:00:07.460Z","response_time":59,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-12T18:08:23.588Z","updated_at":"2025-10-09T13:32:26.967Z","avatar_url":"https://github.com/paypal.png","language":"Python","funding_links":["https://developer.paypal.com/docs/api/orders/v2/","https://developer.paypal.com/docs/api/payments/v2","https://developer.paypal.com/docs/api/payment-tokens/v3/"],"categories":[],"sub_categories":[],"readme":"\n# Getting Started with PayPal Server SDK\n\n## Introduction\n\n### Important Notes\n\n- **Available Features:** This SDK currently contains only 3 of PayPal's API endpoints. Additional endpoints and functionality will be added in the future.\n\n### Information\n\nThe PayPal Server SDK provides integration access to the PayPal REST APIs. The API endpoints are divided into distinct controllers:\n\n- Orders Controller: [Orders API v2](https://developer.paypal.com/docs/api/orders/v2/)\n- Payments Controller: [Payments API v2](https://developer.paypal.com/docs/api/payments/v2\n- Vault Controller: [Payment Method Tokens API v3](https://developer.paypal.com/docs/api/payment-tokens/v3/) *Available in the US only.*\n\n## Install the Package\n\nThe package is compatible with Python versions `3.7+`.\nInstall the package from PyPi using the following pip command:\n\n```bash\npip install paypal-server-sdk==1.1.0\n```\n\nYou can also view the package at:\nhttps://pypi.python.org/pypi/paypal-server-sdk/1.1.0\n\n## Initialize the API Client\n\n**_Note:_** Documentation for the client can be found [here.](https://www.github.com/paypal/PayPal-Python-Server-SDK/tree/1.1.0/doc/client.md)\n\nThe following parameters are configurable for the API Client:\n\n| Parameter | Type | Description |\n|  --- | --- | --- |\n| environment | `Environment` | The API environment. \u003cbr\u003e **Default: `Environment.SANDBOX`** |\n| http_client_instance | `HttpClient` | The Http Client passed from the sdk user for making requests |\n| override_http_client_configuration | `bool` | The value which determines to override properties of the passed Http Client from the sdk user |\n| http_call_back | `HttpCallBack` | The callback value that is invoked before and after an HTTP call is made to an endpoint |\n| timeout | `float` | The value to use for connection timeout. \u003cbr\u003e **Default: 60** |\n| max_retries | `int` | The number of times to retry an endpoint call if it fails. \u003cbr\u003e **Default: 0** |\n| backoff_factor | `float` | A backoff factor to apply between attempts after the second try. \u003cbr\u003e **Default: 2** |\n| retry_statuses | `Array of int` | The http statuses on which retry is to be done. \u003cbr\u003e **Default: [408, 413, 429, 500, 502, 503, 504, 521, 522, 524]** |\n| retry_methods | `Array of string` | The http methods on which retry is to be done. \u003cbr\u003e **Default: ['GET', 'PUT']** |\n| logging_configuration | [`LoggingConfiguration`](https://www.github.com/paypal/PayPal-Python-Server-SDK/tree/1.1.0/doc/logging-configuration.md) | The SDK logging configuration for API calls |\n| client_credentials_auth_credentials | [`ClientCredentialsAuthCredentials`](https://www.github.com/paypal/PayPal-Python-Server-SDK/tree/1.1.0/doc/auth/oauth-2-client-credentials-grant.md) | The credential object for OAuth 2 Client Credentials Grant |\n\nThe API client can be initialized as follows:\n\n```python\nclient = PaypalServersdkClient(\n    client_credentials_auth_credentials=ClientCredentialsAuthCredentials(\n        o_auth_client_id='OAuthClientId',\n        o_auth_client_secret='OAuthClientSecret'\n    ),\n    environment=Environment.SANDBOX,\n    logging_configuration=LoggingConfiguration(\n        log_level=logging.INFO,\n        request_logging_config=RequestLoggingConfiguration(\n            log_body=True\n        ),\n        response_logging_config=ResponseLoggingConfiguration(\n            log_headers=True\n        )\n    )\n)\n```\n\n## Environments\n\nThe SDK can be configured to use a different environment for making API calls. Available environments are:\n\n### Fields\n\n| Name | Description |\n|  --- | --- |\n| Production | PayPal Live Environment |\n| Sandbox | **Default** PayPal Sandbox Environment |\n\n## Authorization\n\nThis API uses the following authentication schemes.\n\n* [`Oauth2 (OAuth 2 Client Credentials Grant)`](https://www.github.com/paypal/PayPal-Python-Server-SDK/tree/1.1.0/doc/auth/oauth-2-client-credentials-grant.md)\n\n## List of APIs\n\n* [Orders](https://www.github.com/paypal/PayPal-Python-Server-SDK/tree/1.1.0/doc/controllers/orders.md)\n* [Payments](https://www.github.com/paypal/PayPal-Python-Server-SDK/tree/1.1.0/doc/controllers/payments.md)\n* [Vault](https://www.github.com/paypal/PayPal-Python-Server-SDK/tree/1.1.0/doc/controllers/vault.md)\n\n## SDK Infrastructure\n\n### Configuration\n\n* [AbstractLogger](https://www.github.com/paypal/PayPal-Python-Server-SDK/tree/1.1.0/doc/abstract-logger.md)\n* [LoggingConfiguration](https://www.github.com/paypal/PayPal-Python-Server-SDK/tree/1.1.0/doc/logging-configuration.md)\n* [RequestLoggingConfiguration](https://www.github.com/paypal/PayPal-Python-Server-SDK/tree/1.1.0/doc/request-logging-configuration.md)\n* [ResponseLoggingConfiguration](https://www.github.com/paypal/PayPal-Python-Server-SDK/tree/1.1.0/doc/response-logging-configuration.md)\n\n### HTTP\n\n* [HttpResponse](https://www.github.com/paypal/PayPal-Python-Server-SDK/tree/1.1.0/doc/http-response.md)\n* [HttpRequest](https://www.github.com/paypal/PayPal-Python-Server-SDK/tree/1.1.0/doc/http-request.md)\n\n### Utilities\n\n* [ApiResponse](https://www.github.com/paypal/PayPal-Python-Server-SDK/tree/1.1.0/doc/api-response.md)\n* [ApiHelper](https://www.github.com/paypal/PayPal-Python-Server-SDK/tree/1.1.0/doc/api-helper.md)\n* [HttpDateTime](https://www.github.com/paypal/PayPal-Python-Server-SDK/tree/1.1.0/doc/http-date-time.md)\n* [RFC3339DateTime](https://www.github.com/paypal/PayPal-Python-Server-SDK/tree/1.1.0/doc/rfc3339-date-time.md)\n* [UnixDateTime](https://www.github.com/paypal/PayPal-Python-Server-SDK/tree/1.1.0/doc/unix-date-time.md)\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpaypal%2Fpaypal-python-server-sdk","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpaypal%2Fpaypal-python-server-sdk","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpaypal%2Fpaypal-python-server-sdk/lists"}