PHPackages                             antonowano/qiwi-topup - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Payment Processing](/categories/payments)
4. /
5. antonowano/qiwi-topup

AbandonedArchivedLibrary[Payment Processing](/categories/payments)

antonowano/qiwi-topup
=====================

Top-Up API is intended for merchants or payment service providers (PSP) who need to send money to QIWI Wallet users.

v1.0.3(5y ago)334MITPHPPHP &gt;=7.1

Since Jul 31Pushed 5y ago1 watchersCompare

[ Source](https://github.com/antonowano/qiwi-topup)[ Packagist](https://packagist.org/packages/antonowano/qiwi-topup)[ RSS](/packages/antonowano-qiwi-topup/feed)WikiDiscussions master Synced yesterday

READMEChangelog (4)Dependencies (2)Versions (5)Used By (0)

Example
=======

[](#example)

Install
-------

[](#install)

```
composer require antonowano/qiwi-topup

```

Get balance
-----------

[](#get-balance)

```
use Antonowano\QiwiTopup\Constant\ErrorCodes;
use Antonowano\QiwiTopup\Factory\RequestFactory;
use Antonowano\QiwiTopup\QiwiTopup;

$qiwi = new QiwiTopup();
$requestFactory = new RequestFactory(123, 'password');
$request = $requestFactory->createForGetBalance();
$response = $qiwi->sendRequest($request);

if ($response->getResultCode() == ErrorCodes::NO_ERROR) {
    var_dump($response->getBalances());
}
```

Pay to card
-----------

[](#pay-to-card)

```
use Antonowano\QiwiTopup\Constant\Currencies;
use Antonowano\QiwiTopup\Constant\PaymentStatuses;
use Antonowano\QiwiTopup\Factory\RequestFactory;
use Antonowano\QiwiTopup\QiwiTopup;

$qiwi = new QiwiTopup();
$requestFactory = new RequestFactory(123, 'password');
$request = $requestFactory->createForPayToCard();
$request
    ->setTransactionNumber(12345678)
    ->setFromCcy(Currencies::RUB)
    ->setToAmount(1115)
    ->setToCcy(Currencies::RUB)
    ->setToAccountNumber('4265111122334411')
;
$response = $qiwi->sendRequest($request);
$payment = $response->getPayment();

if ($payment->getStatus() == PaymentStatuses::EXECUTED) {
    echo $payment->getTransactionNumber();
}
```

Pay to QIWI
-----------

[](#pay-to-qiwi)

```
use Antonowano\QiwiTopup\Constant\Currencies;
use Antonowano\QiwiTopup\Constant\PaymentStatuses;
use Antonowano\QiwiTopup\Factory\RequestFactory;
use Antonowano\QiwiTopup\QiwiTopup;

$qiwi = new QiwiTopup();
$requestFactory = new RequestFactory(123, 'password');
$request = $requestFactory->createForPayToQiwi();
$request
    ->setIncomeWireTransfer(1)
    ->setToAmount(15)
    ->setToCcy(Currencies::RUB)
    ->setFromCcy(Currencies::USD)
    ->setTransactionNumber(321456)
    ->setToAccountNumber('79181234567')
;
$response = $qiwi->sendRequest($request);
$payment = $response->getPayment();

if ($payment->getStatus() == PaymentStatuses::EXECUTED) {
    echo $payment->getTransactionNumber();
}
```

Get status
----------

[](#get-status)

```
use Antonowano\QiwiTopup\Constant\PaymentStatuses;
use Antonowano\QiwiTopup\Factory\RequestFactory;
use Antonowano\QiwiTopup\QiwiTopup;

$qiwi = new QiwiTopup();
$requestFactory = new RequestFactory(123, 'password');
$request = $requestFactory->createForGetStatus();
$request
    ->setTransactionNumber(12345678)
    ->setToAccountNumber('79181234567')
;
$response = $qiwi->sendRequest($request);
$payment = $response->getPayment();

if ($payment->getStatus() == PaymentStatuses::EXECUTED) {
    echo $payment->getTransactionNumber();
}
```

Check deposit possible
----------------------

[](#check-deposit-possible)

```
use Antonowano\QiwiTopup\Factory\RequestFactory;
use Antonowano\QiwiTopup\QiwiTopup;

$qiwi = new QiwiTopup();
$requestFactory = new RequestFactory(123, 'password');
$request = $requestFactory->createForCheckDepositPossible();
$request
    ->setPhone('79031234567')
    ->setIncomeWireTransfer(1)
;
$response = $qiwi->sendRequest($request);
$exist = $response->getExist();
$possible = $response->getDepositPossible();
```

###  Health Score

25

—

LowBetter than 37% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity11

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity53

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~4 days

Total

4

Last Release

2096d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/80ef89d199a1ccccbe23343f30ab316d58bea14534617fb0f84f4407e2fd2f1d?d=identicon)[antonowano](/maintainers/antonowano)

---

Top Contributors

[![antonowano](https://avatars.githubusercontent.com/u/8445829?v=4)](https://github.com/antonowano "antonowano (4 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/antonowano-qiwi-topup/health.svg)

```
[![Health](https://phpackages.com/badges/antonowano-qiwi-topup/health.svg)](https://phpackages.com/packages/antonowano-qiwi-topup)
```

###  Alternatives

[chargebee/chargebee-php

ChargeBee API client implementation for PHP

768.0M9](/packages/chargebee-chargebee-php)[imdhemy/google-play-billing

Google Play Billing

491.3M5](/packages/imdhemy-google-play-billing)[bitpay/sdk

Complete version of the PHP library for the new cryptographically secure BitPay API

42337.5k4](/packages/bitpay-sdk)[buckaroo/sdk

Buckaroo payment SDK

12189.1k9](/packages/buckaroo-sdk)[contica/facturador-electronico-cr

Un facturador de código libre para integrar facturación electrónica en Costa Rica a un proyecto PHP

2128.8k](/packages/contica-facturador-electronico-cr)[karson/mpesa-php-sdk

172.2k](/packages/karson-mpesa-php-sdk)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
