{"id":37084389,"url":"https://github.com/theolujay/paystack-api-wrapper","last_synced_at":"2026-01-14T10:19:38.410Z","repository":{"id":309797646,"uuid":"1036624209","full_name":"theolujay/paystack-api-wrapper","owner":"theolujay","description":"Modern, test-driven Python client for the Paystack API — built to save you time integrating into Python projects.","archived":false,"fork":false,"pushed_at":"2025-08-21T04:44:22.000Z","size":560,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-10-27T03:55:14.247Z","etag":null,"topics":["africa","fintech","payment","payment-integration","paystack","python"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/theolujay.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","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":"2025-08-12T10:52:00.000Z","updated_at":"2025-08-21T07:46:34.000Z","dependencies_parsed_at":"2025-08-20T22:29:01.558Z","dependency_job_id":null,"html_url":"https://github.com/theolujay/paystack-api-wrapper","commit_stats":null,"previous_names":["theolujay/paystack_client","theolujay/paystack-api-wrapper"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/theolujay/paystack-api-wrapper","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/theolujay%2Fpaystack-api-wrapper","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/theolujay%2Fpaystack-api-wrapper/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/theolujay%2Fpaystack-api-wrapper/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/theolujay%2Fpaystack-api-wrapper/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/theolujay","download_url":"https://codeload.github.com/theolujay/paystack-api-wrapper/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/theolujay%2Fpaystack-api-wrapper/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28416911,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-14T10:18:03.274Z","status":"ssl_error","status_checked_at":"2026-01-14T10:16:11.865Z","response_time":107,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6: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":["africa","fintech","payment","payment-integration","paystack","python"],"created_at":"2026-01-14T10:19:37.558Z","updated_at":"2026-01-14T10:19:38.403Z","avatar_url":"https://github.com/theolujay.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Paystack API Wrapper\n\n[![PyPI Version](https://img.shields.io/pypi/v/paystack-api-wrapper.svg)](https://pypi.org/project/paystack-api-wrapper/) [![Python Versions](https://img.shields.io/pypi/pyversions/paystack-api-wrapper.svg)](https://pypi.org/project/paystack-api-wrapper/) [![Build](https://github.com/theolujay/paystack-api-wrapper/actions/workflows/tests.yml/badge.svg)](https://github.com/theolujay/paystack-api-wrapper/actions) [![Coverage](https://codecov.io/gh/theolujay/paystack-api-wrapper/branch/main/graph/badge.svg)](https://codecov.io/gh/theolujay/paystack-api-wrapper) [![License](https://img.shields.io/github/license/theolujay/paystack-api-wrapper.svg)](https://github.com/theolujay/paystack-api-wrapper/blob/main/LICENSE)\n\nA clean, intuitive, and reliable Python wrapper for the Paystack API.\n\nThis library was built to **eliminate repetitive boilerplate** when integrating Paystack into your Python projects, while emphasizing **modern design, robust error handling, and a test-driven foundation**. Covers the full API with clean abstractions, so you can focus on building features—not handling payments.\n\nSee the [Paystack API docs](https://paystack.com/docs/api/) for reference, and explore the [Usage Guide](./docs/USAGE.md) for practical examples.\n\n---\n\n## Installation\n\n```bash\npip install paystack-api-wrapper\n```\n\n---\n\n## Quick Start\n\n1. **Initialize the client with your secret key**\n\n   (Best practice: store your secret key as an environment variable `PAYSTACK_SECRET_KEY`.)\n\n   ```python\n   import os\n   from paystack import PaystackClient, APIError\n\n   secret_key = os.getenv(\"PAYSTACK_SECRET_KEY\")\n   client = PaystackClient(secret_key=secret_key)\n   ```\n\n2. **Make an API call** (e.g., initialize a transaction):\n\n   ```python\n   try:\n       data, meta = client.transactions.initialize(\n           email=\"customer@example.com\",\n           amount=50000,  # amount in kobo\n           currency=\"NGN\"\n       )\n       print(\"Transaction initialized:\", data)\n       # {'authorization_url': '...', 'access_code': '...', 'reference': '...'}\n\n   except APIError as e:\n       print(f\"API error: {e.message}\")\n   ```\n\nSee the [**Full Usage Guide**](./docs/USAGE.md) for details on handling responses, pagination, and advanced error management.\n\n---\n\n## Available APIs\n\nThe client exposes all major Paystack API resources as properties:\n\n* `apple_pay`\n* `bulk_charges`\n* `charge`\n* `customers`\n* `dedicated_virtual_accounts`\n* `direct_debit`\n* `disputes`\n* `integration`\n* `miscellaneous`\n* `payment_pages`\n* `payment_requests`\n* `plans`\n* `products`\n* `refunds`\n* `settlements`\n* `subaccounts`\n* `subscriptions`\n* `terminal`\n* `transactions`\n* `transaction_splits`\n* `transfers`\n* `transfers_control`\n* `transfer_recipients`\n* `verification`\n* `virtual_terminal`\n\n---\n\n## Contributing\n\nContributions are welcome! Check out the [contributing guide](./CONTRIBUTING.md) to get started.\n\n---\n\n## License\n\nMIT © [Joseph Ezekiel](https://github.com/theolujay) – see [LICENSE](./LICENSE) for details.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftheolujay%2Fpaystack-api-wrapper","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftheolujay%2Fpaystack-api-wrapper","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftheolujay%2Fpaystack-api-wrapper/lists"}