Skip to content
theqiyas.cc
Problem Solver
cc · project · Open source started 2026-10-21

Epoint Python SDK

A typed Python SDK for the Epoint (epoint.az) payment gateway: sync and async, every endpoint, signed callbacks, and retry rules built so a payment is never sent twice.

$ pip install epoint-python-sdk
Python httpx

Payments are the one place where a retry can cost real money, so the client is built around one rule: never charge twice.

  • Checkout, status, refunds, saved cards and widgets — every Epoint endpoint, sync and async.
  • Signed callbacks — verify_callback checks the signature; the redirect alone is never trusted.
  • Apple Pay and Google Pay through the Epoint widget.
  • Double-charge-safe retries — a refused connection is retried; a timeout or 5xx on a call that moves money is not retried and raises OutcomeUnknownError with the order id; reads retry with backoff.
  • Declined cards return a failed Transaction instead of raising.

The idea is the same as the DNS SDKs: small, typed, and honest about what happened on the wire.