Home¶
instapay-eg - Community SDK for Egyptian InstaPay payment links.
Zero dependencies for the core API. Built for Egyptian developers.
What Can It Do?¶
In three lines of code:
from instapay_eg import parse_text
data = parse_text("https://ipn.eg/S/alice/instapay/2DcFGv\nClick the link...\nalice@instapay")
print(data.handle) # alice
See the Quick Start for the full tour, or jump to:
- Installation -
pip install instapay-eg - Pydantic & FastAPI - Drop-in annotated types
- Django - ORM model field
- QR Codes - PNG, SVG, base64
Why Does This Exist?¶
InstaPay's mobile app generates share-sheet text like this:
https://ipn.eg/S/alice/instapay/2DcFGv
Click the link to send money to
alice@instapay
Powered by InstaPay
Developers who accept InstaPay payments in their apps need to:
- Extract the URL from that blob of text
- Verify it's not a phishing or lookalike-domain link
- Store just the clean URL in their database
- Optionally generate a QR code for display
instapay-eg does all of this safely and correctly, so you don't have to write and maintain your own regex and security checks.
Disclaimer¶
Community Package
This is an community-driven utility package. It is not affiliated with, endorsed by, or associated with the Egyptian Banks Company (EBC) or InstaPay Egypt.