{"id":19888852,"url":"https://github.com/paypal/paypal-java-server-sdk","last_synced_at":"2025-09-18T21:31:40.391Z","repository":{"id":256299188,"uuid":"847886474","full_name":"paypal/PayPal-Java-Server-SDK","owner":"paypal","description":null,"archived":false,"fork":false,"pushed_at":"2025-01-03T20:10:59.000Z","size":1126,"stargazers_count":5,"open_issues_count":2,"forks_count":2,"subscribers_count":7,"default_branch":"main","last_synced_at":"2025-01-03T21:22:49.187Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Java","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":null,"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}},"created_at":"2024-08-26T18:25:47.000Z","updated_at":"2025-01-03T20:11:04.000Z","dependencies_parsed_at":"2024-11-21T18:27:48.017Z","dependency_job_id":null,"html_url":"https://github.com/paypal/PayPal-Java-Server-SDK","commit_stats":null,"previous_names":["paypal/paypal-java-server-sdk"],"tags_count":6,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/paypal%2FPayPal-Java-Server-SDK","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/paypal%2FPayPal-Java-Server-SDK/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/paypal%2FPayPal-Java-Server-SDK/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/paypal%2FPayPal-Java-Server-SDK/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/paypal","download_url":"https://codeload.github.com/paypal/PayPal-Java-Server-SDK/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":233524241,"owners_count":18689082,"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","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:26.751Z","updated_at":"2025-09-18T21:31:40.382Z","avatar_url":"https://github.com/paypal.png","language":"Java","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\nInstall the SDK by adding the following dependency in your project's pom.xml file:\n\n```xml\n\u003cdependency\u003e\n  \u003cgroupId\u003ecom.paypal.sdk\u003c/groupId\u003e\n  \u003cartifactId\u003epaypal-server-sdk\u003c/artifactId\u003e\n  \u003cversion\u003e1.1.0\u003c/version\u003e\n\u003c/dependency\u003e\n```\n\nYou can also view the package at:\nhttps://central.sonatype.com/artifact/com.paypal.sdk/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-Java-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| httpClientConfig | [`Consumer\u003cHttpClientConfiguration.Builder\u003e`](https://www.github.com/paypal/PayPal-Java-Server-SDK/tree/1.1.0/doc/http-client-configuration-builder.md) | Set up Http Client Configuration instance. |\n| loggingConfig | [`Consumer\u003cApiLoggingConfiguration.Builder\u003e`](https://www.github.com/paypal/PayPal-Java-Server-SDK/tree/1.1.0/doc/api-logging-configuration-builder.md) | Set up Logging Configuration instance. |\n| clientCredentialsAuth | [`ClientCredentialsAuth`](https://www.github.com/paypal/PayPal-Java-Server-SDK/tree/1.1.0/doc/auth/oauth-2-client-credentials-grant.md) | The Credentials Setter for OAuth 2 Client Credentials Grant |\n\nThe API client can be initialized as follows:\n\n```java\nPaypalServerSdkClient client = new PaypalServerSdkClient.Builder()\n    .loggingConfig(builder -\u003e builder\n            .level(Level.DEBUG)\n            .requestConfig(logConfigBuilder -\u003e logConfigBuilder.body(true))\n            .responseConfig(logConfigBuilder -\u003e logConfigBuilder.headers(true)))\n    .httpClientConfig(configBuilder -\u003e configBuilder\n            .timeout(0))\n    .clientCredentialsAuth(new ClientCredentialsAuthModel.Builder(\n            \"OAuthClientId\",\n            \"OAuthClientSecret\"\n        )\n        .build())\n    .environment(Environment.SANDBOX)\n    .build();\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-Java-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-Java-Server-SDK/tree/1.1.0/doc/controllers/orders.md)\n* [Payments](https://www.github.com/paypal/PayPal-Java-Server-SDK/tree/1.1.0/doc/controllers/payments.md)\n* [Vault](https://www.github.com/paypal/PayPal-Java-Server-SDK/tree/1.1.0/doc/controllers/vault.md)\n\n## SDK Infrastructure\n\n### Configuration\n\n* [ApiLoggingConfiguration](https://www.github.com/paypal/PayPal-Java-Server-SDK/tree/1.1.0/doc/api-logging-configuration.md)\n* [ApiLoggingConfiguration.Builder](https://www.github.com/paypal/PayPal-Java-Server-SDK/tree/1.1.0/doc/api-logging-configuration-builder.md)\n* [ApiRequestLoggingConfiguration.Builder](https://www.github.com/paypal/PayPal-Java-Server-SDK/tree/1.1.0/doc/api-request-logging-configuration-builder.md)\n* [ApiResponseLoggingConfiguration.Builder](https://www.github.com/paypal/PayPal-Java-Server-SDK/tree/1.1.0/doc/api-response-logging-configuration-builder.md)\n* [Configuration Interface](https://www.github.com/paypal/PayPal-Java-Server-SDK/tree/1.1.0/doc/configuration-interface.md)\n* [HttpClientConfiguration](https://www.github.com/paypal/PayPal-Java-Server-SDK/tree/1.1.0/doc/http-client-configuration.md)\n* [HttpClientConfiguration.Builder](https://www.github.com/paypal/PayPal-Java-Server-SDK/tree/1.1.0/doc/http-client-configuration-builder.md)\n\n### HTTP\n\n* [Headers](https://www.github.com/paypal/PayPal-Java-Server-SDK/tree/1.1.0/doc/headers.md)\n* [HttpCallback Interface](https://www.github.com/paypal/PayPal-Java-Server-SDK/tree/1.1.0/doc/http-callback-interface.md)\n* [HttpContext](https://www.github.com/paypal/PayPal-Java-Server-SDK/tree/1.1.0/doc/http-context.md)\n* [HttpBodyRequest](https://www.github.com/paypal/PayPal-Java-Server-SDK/tree/1.1.0/doc/http-body-request.md)\n* [HttpRequest](https://www.github.com/paypal/PayPal-Java-Server-SDK/tree/1.1.0/doc/http-request.md)\n* [HttpResponse](https://www.github.com/paypal/PayPal-Java-Server-SDK/tree/1.1.0/doc/http-response.md)\n* [HttpStringResponse](https://www.github.com/paypal/PayPal-Java-Server-SDK/tree/1.1.0/doc/http-string-response.md)\n\n### Utilities\n\n* [ApiException](https://www.github.com/paypal/PayPal-Java-Server-SDK/tree/1.1.0/doc/api-exception.md)\n* [ApiResponse](https://www.github.com/paypal/PayPal-Java-Server-SDK/tree/1.1.0/doc/api-response.md)\n* [ApiHelper](https://www.github.com/paypal/PayPal-Java-Server-SDK/tree/1.1.0/doc/api-helper.md)\n* [FileWrapper](https://www.github.com/paypal/PayPal-Java-Server-SDK/tree/1.1.0/doc/file-wrapper.md)\n* [JsonObject](https://www.github.com/paypal/PayPal-Java-Server-SDK/tree/1.1.0/doc/json-object.md)\n* [JsonValue](https://www.github.com/paypal/PayPal-Java-Server-SDK/tree/1.1.0/doc/json-value.md)\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpaypal%2Fpaypal-java-server-sdk","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpaypal%2Fpaypal-java-server-sdk","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpaypal%2Fpaypal-java-server-sdk/lists"}