{"id":15399187,"url":"https://github.com/edg-l/paypal-rs","last_synced_at":"2026-04-07T13:31:30.143Z","repository":{"id":38365587,"uuid":"270817992","full_name":"edg-l/paypal-rs","owner":"edg-l","description":"A rust library that wraps the paypal api asynchronously in a strongly typed manner.","archived":false,"fork":false,"pushed_at":"2024-06-03T06:02:03.000Z","size":225,"stargazers_count":60,"open_issues_count":6,"forks_count":18,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-10-29T17:53:02.513Z","etag":null,"topics":["api","async","paypal","paypal-rest-api","rust","rust-lang","rust-library"],"latest_commit_sha":null,"homepage":"https://docs.rs/paypal-rs/","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/edg-l.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE-APACHE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":"SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null},"funding":{"github":["edg-l"]}},"created_at":"2020-06-08T20:29:58.000Z","updated_at":"2025-10-25T17:01:54.000Z","dependencies_parsed_at":"2024-10-21T12:06:56.741Z","dependency_job_id":null,"html_url":"https://github.com/edg-l/paypal-rs","commit_stats":{"total_commits":112,"total_committers":6,"mean_commits":"18.666666666666668","dds":0.1339285714285714,"last_synced_commit":"4ce5d56acdc4144cec3c3f164c6e077e88b992fe"},"previous_names":[],"tags_count":7,"template":false,"template_full_name":null,"purl":"pkg:github/edg-l/paypal-rs","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/edg-l%2Fpaypal-rs","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/edg-l%2Fpaypal-rs/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/edg-l%2Fpaypal-rs/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/edg-l%2Fpaypal-rs/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/edg-l","download_url":"https://codeload.github.com/edg-l/paypal-rs/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/edg-l%2Fpaypal-rs/sbom","scorecard":{"id":366441,"data":{"date":"2025-08-11","repo":{"name":"github.com/edg-l/paypal-rs","commit":"4ce5d56acdc4144cec3c3f164c6e077e88b992fe"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":4,"checks":[{"name":"Dangerous-Workflow","score":10,"reason":"no dangerous workflow patterns detected","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Security-Policy","score":4,"reason":"security policy file detected","details":["Info: security policy file detected: SECURITY.md:1","Warn: no linked content found","Info: Found disclosure, vulnerability, and/or timelines in security policy: SECURITY.md:1","Info: Found text in security policy: SECURITY.md:1"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Code-Review","score":0,"reason":"Found 2/23 approved changesets -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Token-Permissions","score":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Info: jobLevel 'contents' permission set to 'read': .github/workflows/rust-clippy.yml:26","Warn: no topLevel permission defined: .github/workflows/rust-clippy.yml:1","Warn: no topLevel permission defined: .github/workflows/rust.yml:1","Info: no jobLevel write permissions found"],"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE-APACHE:0","Info: FSF or OSI recognized license: Apache License 2.0: LICENSE-APACHE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"Vulnerabilities","score":10,"reason":"0 existing vulnerabilities detected","details":null,"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}},{"name":"Pinned-Dependencies","score":5,"reason":"dependency not pinned by hash detected -- score normalized to 5","details":["Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/rust-clippy.yml:30: update your workflow using https://app.stepsecurity.io/secureworkflow/edg-l/paypal-rs/rust-clippy.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/rust-clippy.yml:51: update your workflow using https://app.stepsecurity.io/secureworkflow/edg-l/paypal-rs/rust-clippy.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/rust.yml:18: update your workflow using https://app.stepsecurity.io/secureworkflow/edg-l/paypal-rs/rust.yml/master?enable=pin","Info:   0 out of   3 GitHub-owned GitHubAction dependencies pinned","Info:   1 out of   1 third-party GitHubAction dependencies pinned"],"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'master'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 9 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}}]},"last_synced_at":"2025-08-18T11:55:43.552Z","repository_id":38365587,"created_at":"2025-08-18T11:55:43.552Z","updated_at":"2025-08-18T11:55:43.552Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31515144,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-07T03:10:19.677Z","status":"ssl_error","status_checked_at":"2026-04-07T03:10:13.982Z","response_time":105,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["api","async","paypal","paypal-rest-api","rust","rust-lang","rust-library"],"created_at":"2024-10-01T15:47:15.570Z","updated_at":"2026-04-07T13:31:30.123Z","avatar_url":"https://github.com/edg-l.png","language":"Rust","funding_links":["https://github.com/sponsors/edg-l","https://developer.paypal.com/docs/api"],"categories":[],"sub_categories":[],"readme":"# paypal-rs\n\n\n[![Version](https://img.shields.io/crates/v/paypal-rs)](https://crates.io/crates/paypal-rs)\n[![Downloads](https://img.shields.io/crates/d/paypal-rs)](https://crates.io/crates/paypal-rs)\n[![License](https://img.shields.io/crates/l/paypal-rs)](https://crates.io/crates/paypal-rs)\n![Rust](https://github.com/edg-l/paypal-rs/workflows/Rust/badge.svg)\n[![Docs](https://docs.rs/paypal-rs/badge.svg)](https://docs.rs/paypal-rs)\n\nA rust library that wraps the [paypal api](https://developer.paypal.com/docs/api) asynchronously in a strongly typed manner.\n\nIf there is a missing endpoint that you need, you may try to implement the [Endpoint](endpoint::Endpoint) and pass it to [Client::execute](client::Client::execute)\n\nCurrently in early development.\n\n### Example\n\n```rust\nuse paypal_rs::{\n    Client,\n    api::orders::*,\n    data::orders::*,\n    data::common::Currency,\n    PaypalEnv,\n};\n\n#[tokio::main]\nasync fn main() {\n    dotenvy::dotenv().ok();\n    let clientid = std::env::var(\"PAYPAL_CLIENTID\").unwrap();\n    let secret = std::env::var(\"PAYPAL_SECRET\").unwrap();\n\n    let mut client = Client::new(clientid, secret, PaypalEnv::Sandbox);\n\n    client.get_access_token().await.unwrap();\n\n    let order = OrderPayloadBuilder::default()\n        .intent(Intent::Authorize)\n        .purchase_units(vec![PurchaseUnit::new(Amount::new(Currency::EUR, \"10.0\"))])\n        .build().unwrap();\n\n    let create_order = CreateOrder::new(order);\n\n    let _order_created = client\n        .execute(\u0026create_order).await.unwrap();\n}\n```\n\n### Testing\nYou need the enviroment variables PAYPAL_CLIENTID and PAYPAL_SECRET to be set.\n\n`cargo test`\n\n### Roadmap\n\n- [x] Orders API - 0.1.0\n- - [x] Create order\n- - [x] Update order\n- - [x] Show order details\n- - [x] Authorize payment for order\n- - [x] Capture payment for order\n- [x] Invoicing API - 0.2.0\n- - [x] Generate Invoice number\n- - [x] Create Draft Invoice\n- - [x] Show Invoice Details (Get Invoice)\n- - [x] List Invoices\n- - [x] Delete Invoice\n- - [x] Update Invoice\n- - [x] Cancel Invoice\n- - [x] Send Invoice\n- - [ ] Send Invoice Reminder\n- - [ ] List Templates\n- - [ ] Create Template\n- - [ ] Delete Template\n- - [ ] Fully Update Template\n- - [ ] Show Template Template\n- [ ] Payments API - 0.3.0\n- [ ] Tracking API - 0.4.0\n- [ ] Subscriptions API - 0.5.0\n- [ ] Identity API - 0.6.0\n- [ ] Disputes API - 0.7.0\n- [ ] Catalog Products API - 0.8.0\n- [ ] Partner Referrals API - 0.9.0\n- [ ] Payouts API - 0.10.0\n- [ ] Transaction Search API - 0.11.0\n- [ ] Referenced Payouts API - 0.12.0\n- [ ] Vault API - 0.13.0\n- [ ] Webhooks Management API - 0.14.0\n- [ ] Payment Experience Web Profiles API - 1.0.0\n\nLicense: MIT OR Apache-2.0\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fedg-l%2Fpaypal-rs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fedg-l%2Fpaypal-rs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fedg-l%2Fpaypal-rs/lists"}