Skip to content
theqiyas.cc
Problem Solver

Payment integration: Epoint, cards, wallets and crypto

Card payments, saved cards, refunds, Apple Pay and Google Pay through Epoint, wallets and ledgers, and cross border transfers over USDT. Built so a customer is never charged twice.

Payments are where small bugs cost money

A retry at the wrong moment charges a customer twice. A redirect you trusted without checking marks an unpaid order as paid. I build payments around those cases first.

  • epoint-python-sdk is my open source client for the Epoint gateway: checkout, status, refunds, saved cards and widgets, with Apple Pay and Google Pay. Callbacks are verified by signature, and a call that moves money is never retried blindly after a timeout.
  • Oyun Qurdu takes card payments in manats, keeps a wallet balance per customer and fulfils orders in minutes.
  • Zəif Bənd moves prize money through a double entry ledger, so every manat can be traced.
  • Ubique Pay sends money across borders: card in, USDT over the cheapest network (TON, Solana or TRON), card out, with every fee shown before the customer confirms.

What I set up

The checkout on your site or app, signed callbacks, refunds, payment status pages, a ledger or wallet if you need one, and an admin view where you can see every payment and what happened to it.

Built and running

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.

Pythonhttpx

Ubique Pay

Cross-border payments: card in, USDT over the cheapest network, card out. One hardened Django app with a web UI, a REST API and a real Telegram Mini App.

DjangoPythonTONTelegram

Zəif Bənd

Azerbaijan's intellectual quiz platform: five to nine players sit at a table on their phones, answer questions, vote out the weakest link each round, and the winner takes the prize.

DjangoFlutterPostgreSQLPythonRedis

Oyun Qurdu

Game balances and digital subscriptions in Azerbaijan: PUBG Mobile UC, Free Fire diamonds, TikTok coins, ChatGPT Plus, Claude Pro and more. Pay by card, delivered within minutes.

DjangoHTMXPostgreSQLPythonRedisTailwind CSSWhatsApp
Questions
Which payment gateways can you connect?

I wrote an open source SDK for Epoint, and I have worked with card acquiring, payouts and USDT networks. Other gateways with a documented API can be connected the same way.

How do you make sure nobody is charged twice?

A refused connection is retried, but a timeout on a call that moves money is not. It is marked as unknown and checked against the gateway first, and transfers are idempotent, so the same request cannot move money twice.

Can customers pay with Apple Pay or Google Pay?

Yes, through the Epoint widget.

Can you add a wallet or balance to my site?

Yes. Oyun Qurdu and Obadan both have wallets, and orders can be paid from the balance automatically.

Tell me about your project

A few lines are enough. I answer every message, usually the same day.

What I build