PHPackages                             webpayby/wsb\_api - 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. webpayby/wsb\_api

ActiveLibrary[API Development](/categories/api)

webpayby/wsb\_api
=================

SDK for integration with Webpay

1.0.1(5y ago)338.6k↓25.9%1[1 issues](https://github.com/WebpayDev/wsb-api-sdk/issues)PHPPHP &gt;=7.1CI failing

Since Apr 21Pushed 5y ago1 watchersCompare

[ Source](https://github.com/WebpayDev/wsb-api-sdk)[ Packagist](https://packagist.org/packages/webpayby/wsb_api)[ RSS](/packages/webpayby-wsb-api/feed)WikiDiscussions master Synced 2d ago

READMEChangelogDependencies (1)Versions (3)Used By (0)

General information
===================

[](#general-information)

- PHP 7.1 or above
- You need Webpay account mail us on

Installation
============

[](#installation)

To use the SDK

```
composer require webpayby/wsb_api

```

Usage
=====

[](#usage)

Send request on

- RefundRequest

```
        $response = (new RefundRequest(self::HOST, self::LOGIN, self::PASSWORD, self::BILLING_ID))
            ->setAmount('6.00')
            ->setCurrency(Currency::BYN)
            ->setTransactionId('956424424')
            ->setReason('by client request')
            ->send();
```

- CancelRequest

```
        $response = (new CancelRequest(self::HOST, self::LOGIN, self::PASSWORD, self::BILLING_ID))
            ->setAmount('6.00')
            ->setCurrency(Currency::BYN)
            ->setTransactionId('956424424')
            ->setReason('by client request')
            ->send();
```

- CompleteRequest

```
        $response = (new CompleteRequest(self::HOST, self::LOGIN, self::PASSWORD, self::BILLING_ID))
            ->setAmount('5.00')
            ->setCurrency(Currency::BYN)
            ->setTransactionId('956424424')
            ->send();
```

- CompleteWithSouRequest

```
        $response = (new CompleteWithSouRequest(self::HOST, self::LOGIN, self::PASSWORD, self::BILLING_ID))
            ->setAmount('5.00')
            ->setCurrency(Currency::BYN)
            ->setTransactionId('956424424')
            ->setServiceNumber('391871')
            ->setServiceAccount('11111111111111')
            ->send();
```

- GetTransactionStatusRequest

```
        $response = (new GetTransactionStatusRequest(self::HOST, self::LOGIN, self::PASSWORD, self::BILLING_ID))
            ->setStartYear('2019')
            ->setStartMonth('01')
            ->send();
```

###  Health Score

30

—

LowBetter than 62% of packages

Maintenance13

Infrequent updates — may be unmaintained

Popularity32

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity52

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

Total

2

Last Release

2157d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/93c9cdc7e525b1812f1614b7900b01785adf15b2a673e5ae484c6bf66a2ae37a?d=identicon)[WebpayDev](/maintainers/WebpayDev)

---

Top Contributors

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

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/webpayby-wsb-api/health.svg)

```
[![Health](https://phpackages.com/badges/webpayby-wsb-api/health.svg)](https://phpackages.com/packages/webpayby-wsb-api)
```

###  Alternatives

[exsyst/swagger

A php library to manipulate Swagger specifications

35916.4M7](/packages/exsyst-swagger)[hubspot/api-client

Hubspot API client

24016.2M20](/packages/hubspot-api-client)[pocketmine/bedrock-protocol

An implementation of the Minecraft: Bedrock Edition protocol in PHP

172445.0k15](/packages/pocketmine-bedrock-protocol)[botman/driver-telegram

Telegram driver for BotMan

93459.5k6](/packages/botman-driver-telegram)

PHPackages © 2026

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