Metadata-Version: 2.4
Name: paymobz
Version: 0.1.3
Summary: Unofficial Python SDK for Paymob payment gateway (Unified Checkout, Intention, Iframe)
Author-email: Ahmed Saoud <ahmedsaoud0work@gmail.com>
License: MIT
Keywords: paymob,payments,sdk,egypt,checkout
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Requires-Python: >=3.8
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: httpx>=0.24.0
Requires-Dist: pydantic>=1.10.0
Dynamic: license-file

# PayMobZ

### Unofficial Python SDK for the Paymob payment gateway.

---

## 🚀 Installation

`pip install paymobz`


---

## ⚡ Quick Start
```python
from paymobz import Paymob

paymob = Paymob(
    api_key="YOUR_API_KEY",
    secret_key="YOUR_SECRET_KEY",
    public_key="YOUR_PUBLIC_KEY"
)

res = paymob.unified_checkout.create({
    "amount": 2000,
    "currency": "EGP",
    "payment_methods": [YOUR_INTEGRATION_ID],
    "billing_data": {
        "first_name": "Test",
        "last_name": "User",
        "email": "test@test.com",
        "phone_number": "+201000000000",
        "city": "Cairo",
        "country": "EG"
    }
})

print(res.intention_url)
```
---

## 💳 Supported Features

- Unified Checkout
- Intention API
- Iframe Integration
- Webhook Handling

---

## 🧠 Notes

- Amount is in cents (e.g. 2000 = 20 EGP)
- Uses Paymob hosted checkout (secure)
- No card data is handled by this SDK

---

## ⚠️ Disclaimer

This is an unofficial SDK and is not affiliated with Paymob.

---

## 📌 Status

Early release (v0.1.0)

More improvements, documentation, and features coming soon.

---

# Author
###  Ahmed Saoud
