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.1.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.1-py3-none-any.whl (4.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: cbe_verify-0.1.1.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.1.tar.gz
Algorithm Hash digest
SHA256 a865cf0ffb9fa9c62ebfce41e2bf40bda9c6d5cad4a69f10cf976a46b51941ad
MD5 2a16f2030ab52caf8f5e0eddd7acdda9
BLAKE2b-256 e40e1b14c7a24b13fdeb4ee2e685e9cb54e7177dd3f09e79a3de174ca9ea5333

See more details on using hashes here.

File details

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

File metadata

  • Download URL: cbe_verify-0.1.1-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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 d4a1647c18836cb17c4e32b73d600d3677e12551a6bae2d9f05da5c6cd8e9f42
MD5 37c5cbf88d480d963b4c294bef29c5ac
BLAKE2b-256 3eef5e8e9b815cad861ec317d81d48649adaf0af516bad4b338261545df3d425

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