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 3w ago

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 35% 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

2149d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/8445829?v=4)[Ivan Antonov](/maintainers/antonowano)[@antonowano](https://github.com/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

[aws/aws-sdk-php

AWS SDK for PHP - Use Amazon Web Services in your PHP project

6.3k543.5M2.6k](/packages/aws-aws-sdk-php)[neuron-core/neuron-ai

The PHP Agentic Framework.

2.0k656.1k38](/packages/neuron-core-neuron-ai)[tencentcloud/tencentcloud-sdk-php

TencentCloudApi php sdk

3741.3M46](/packages/tencentcloud-tencentcloud-sdk-php)[chargebee/chargebee-php

ChargeBee API client implementation for PHP

758.5M9](/packages/chargebee-chargebee-php)[tempest/framework

The PHP framework that gets out of your way.

2.2k34.4k15](/packages/tempest-framework)[imdhemy/google-play-billing

Google Play Billing

491.5M5](/packages/imdhemy-google-play-billing)

PHPackages © 2026

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