PHPackages                             paywalletdev/pwclient - 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. [API Development](/categories/api)
4. /
5. paywalletdev/pwclient

ActiveLibrary[API Development](/categories/api)

paywalletdev/pwclient
=====================

PayWallet Api client

1.0.1(3y ago)012MITPHPPHP &gt;=7.2.5

Since Feb 3Pushed 3y ago1 watchersCompare

[ Source](https://github.com/paywalletdev/pwclient)[ Packagist](https://packagist.org/packages/paywalletdev/pwclient)[ RSS](/packages/paywalletdev-pwclient/feed)WikiDiscussions master Synced today

READMEChangelog (2)Dependencies (1)Versions (3)Used By (0)

PayWallet Api Client (PHP Composer package)
===========================================

[](#paywallet-api-client-php-composer-package)

PayWallet API documentations is available at

Installation
------------

[](#installation)

The recommended way to install package is through [Composer](https://getcomposer.org/).

```
composer require paywalletdev/pwclient
```

Examples
--------

[](#examples)

#### **Create address for deposit or Payment page URL**

[](#create-address-for-deposit-or-payment-page-url)

Documentation:

```
use PayWallet\PWClient;

$PWC = new PWClient(
    'wlOcww20hgShuhVdR4Rl4Vy7cWrLDsdn', //API public key
    'izJnim4ojkGCRgXVEbErvehsbRcjpiFc'  //API private key
);

$result = $PWC->createDepositAddress(
    'zKnIaZe4eeKpWzNtMRhA7eRFIJeKXnfq', //Merchant public key
    '20',                               //Order ID
    'trx',                              //Currency in lowercase
    10,                                 //Expected Amount
    'Test api'                          //Comment
);

var_dump($result);
```

> You can send your client a link to the payment page. Demo page: .

#### **Instant payment (Withdraw)**

[](#instant-payment-withdraw)

Documentation:

```
use PayWallet\PWClient;

$PWC = new PWClient(
    'wlOcww20hgShuhVdR4Rl4Vy7cWrLDsdn', //API public key
    'izJnim4ojkGCRgXVEbErvehsbRcjpiFc'  //API private key
);

$result = $PWC->instantPayment(
    'zKnIaZe4eeKpWzNtMRhA7eRFIJeKXnfq', //Merchant public key
    'xlm',                              //Currency in lowercase
    5,                                  //Withdraw amount
    'GDNEMX6JROI6ICWHVDRT7XJF7X6CLT4JVRZ5XTBJABIQRC35SO3INQIQ', //Payment address
    2002                                //Tag or NULL
    'Test api',                         //Comment
);

var_dump($result);
```

> The tag is needed only for `XLM` and `XRP` currencies. For other currencies, the `tag` must be specified as `NULL`.

#### **Get merchant balance**

[](#get-merchant-balance)

Documentation:

```
use PayWallet\PWClient;

$PWC = new PWClient(
    'wlOcww20hgShuhVdR4Rl4Vy7cWrLDsdn', //API public key
    'izJnim4ojkGCRgXVEbErvehsbRcjpiFc'  //API private key
);

$result = $PWC->getMerchantBalance(
    'zKnIaZe4eeKpWzNtMRhA7eRFIJeKXnfq'  //Merchant public key
);

var_dump($result);
```

#### **Get wallet balance**

[](#get-wallet-balance)

Documentation:

```
use PayWallet\PWClient;

$PWC = new PWClient(
    'wlOcww20hgShuhVdR4Rl4Vy7cWrLDsdn', //API public key
    'izJnim4ojkGCRgXVEbErvehsbRcjpiFc'  //API private key
);

$result = $PWC->getWalletBalance();

var_dump($result);
```

#### **Get currency rate**

[](#get-currency-rate)

Documentation:

```
use PayWallet\PWClient;

$PWC = new PWClient(
    'wlOcww20hgShuhVdR4Rl4Vy7cWrLDsdn', //API public key
    'izJnim4ojkGCRgXVEbErvehsbRcjpiFc'  //API private key
);

$result = $PWC->getCurrencyRate('btc');

var_dump($result);
```

###  Health Score

20

—

LowBetter than 13% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity5

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity42

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 ~0 days

Total

2

Last Release

1247d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/859038762104301b5b1a3480795102374b878d97d8e26e0b4e7bfc2535aa8670?d=identicon)[paywalletdev](/maintainers/paywalletdev)

---

Top Contributors

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

### Embed Badge

![Health badge](/badges/paywalletdev-pwclient/health.svg)

```
[![Health](https://phpackages.com/badges/paywalletdev-pwclient/health.svg)](https://phpackages.com/packages/paywalletdev-pwclient)
```

###  Alternatives

[statamic/cms

The Statamic CMS Core Package

4.8k3.6M985](/packages/statamic-cms)[tencentcloud/tencentcloud-sdk-php

TencentCloudApi php sdk

3741.3M46](/packages/tencentcloud-tencentcloud-sdk-php)[neuron-core/neuron-ai

The PHP Agentic Framework.

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

Wildberries OpenAPI clients (generated).

273.0k](/packages/eslazarev-wildberries-sdk)[avalara/avataxclient

Client library for Avalara's AvaTax suite of business tax calculation and processing services. Uses the REST v2 API.

528.5M7](/packages/avalara-avataxclient)[files.com/files-php-sdk

Files.com PHP SDK

2481.1k](/packages/filescom-files-php-sdk)

PHPackages © 2026

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