Skip to main content

A simple package to verify CBE payment receipts

Project description

CBE Payment Receipt Verifier

Python Version License

A robust Python package for verifying Commercial Bank of Ethiopia (CBE) payment receipts by reference number and account suffix.

Features

  • Receipt Verification: Validate CBE payment receipts using transaction references
  • PDF Parsing: Extract transaction details from CBE PDF receipts
  • Error Handling: Comprehensive error handling with retry mechanism
  • Multiple Date Formats: Supports various date formats found in receipts
  • SSL Configuration: Configurable SSL verification for secure connections

Installation

pip install cbe-verify

Usage

from cbe_verify import CBEVerifier

verifier = CBEVerifier()
result = verifier.verify("FT12345678", "1234578")  # Reference + last 8 digits

if result["success"]:
    print(f"Verified payment of {result['amount']} ETB")
    print(f"Transaction date: {result['date']}")
else:
    print(f"Verification failed: {result['error']}")


Response Format

{
    "success": True,
    "payer": "John Doe",
    "payer_account": "XXXX1234",
    "receiver": "ABC Company",
    "receiver_account": "XXXX5678",
    "amount": 1500.00,
    "date": "2023-10-15T14:30:00",
    "reference": "FT12345678"
}

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

cbe_verify-0.1.0.tar.gz (3.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

cbe_verify-0.1.0-py3-none-any.whl (4.4 kB view details)

Uploaded Python 3

File details

Details for the file cbe_verify-0.1.0.tar.gz.

File metadata

  • Download URL: cbe_verify-0.1.0.tar.gz
  • Upload date:
  • Size: 3.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.2

File hashes

Hashes for cbe_verify-0.1.0.tar.gz
Algorithm Hash digest
SHA256 c1663aed4e276b724f78e6f83824f95734612fe8d37d269ef31458829d0c85cd
MD5 1d94f3ca507f573bef3402a40f18bec3
BLAKE2b-256 e439a6c5ea7d430e0eef5c6d237878d2d71b62f8b6250e82c0c0a817d29a5f95

See more details on using hashes here.

File details

Details for the file cbe_verify-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: cbe_verify-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 4.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.2

File hashes

Hashes for cbe_verify-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 e487d8a5b3f56c6cc0a96e854ac1f0b85525e325411dde630800fc8ecb6c05e8
MD5 e14c00567fb60e178a17005eb41e9bae
BLAKE2b-256 e891dd3ac3ebc8c14f34d30ac1b7032e3bd4d63af49b30bd06b811a970f18458

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page