PHPackages                             bitbuy-at/globitex-api-client - 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. [HTTP &amp; Networking](/categories/http)
4. /
5. bitbuy-at/globitex-api-client

ActiveLibrary[HTTP &amp; Networking](/categories/http)

bitbuy-at/globitex-api-client
=============================

Client for Nexpay HTTP API with support for Laravel

v0.6.1(2y ago)2271[1 issues](https://github.com/bitbuyAT/nexpay-api-client/issues)[2 PRs](https://github.com/bitbuyAT/nexpay-api-client/pulls)MITPHPPHP ^8.0

Since Jun 26Pushed 2y ago1 watchersCompare

[ Source](https://github.com/bitbuyAT/nexpay-api-client)[ Packagist](https://packagist.org/packages/bitbuy-at/globitex-api-client)[ RSS](/packages/bitbuy-at-globitex-api-client/feed)WikiDiscussions master Synced today

READMEChangelog (9)Dependencies (4)Versions (13)Used By (0)

*This project is only supporting a selected choice of api calls to the nexpay api, feel free to contribute!*

nexpay-api-client
=================

[](#nexpay-api-client)

Client for Nexpay HTTP API with support for Laravel. API docs:

Install
=======

[](#install)

`composer require bitbuy-at/nexpay-api-client`

Laravel
-------

[](#laravel)

If you're using Laravel, the package will automatically register the Nexpay provider and facade.

Configuration
-------------

[](#configuration)

You can update your .env file with the following settings (only needed for private calls):

```
NEXPAY_KEY=key
NEXPAY_MESSAGE_SECRET=message_secret
NEXPAY_OUTGOING_SECRET=outgoing_secret

```

Usage
-----

[](#usage)

### Get current prices

[](#get-current-prices)

```
use bitbuyAT\Nexpay\Facade\Nexpay;

$tradingPair = 'BTCEUR';
$prices = Nexpay::getTicker($tradingPair);
$prices->getData();
$prices->askPrice();
$prices->bidPrice();
```

*More examples can be found in the `/tests` folder.*

### Supported Methods

[](#supported-methods)

All currently supported methods with params explanation can be found in the client interface (`src/Contracts/Client.php`).

#### EURO wallet methods (private)

[](#euro-wallet-methods-private)

- [Get Account Information](https://paynexpay.com/api/#get-account-information): `Nexpay::getEuroAccountStatus(): EuroAccountsCollection`
- [Get Account History](https://paynexpay.com/api/#get-account-history): `Nexpay::getEuroPaymentHistory(string $fromDate = null, string $toDate = null, string $account = null): EuroPaymentHistory`
- [Make New Payment](https://paynexpay.com/api/#make-new-payment): `Nexpay::makeEuroPayment(EuroPaymentParameters $params, string $transactionSignature = null): EuroPaymentStatus`

### Old methods

[](#old-methods)

Methods that are no longer available since the Nexpay exchange was discontinued

#### Market Data methods (public)

[](#market-data-methods-public)

- [Get Time](https://globitex.com/api/#restGetTime): `Nexpay::getTime(): int`
- [Get Symbols](https://globitex.com/api/#restGetSymbols): `Nexpay::getAssetPairs(): PairsCollection`
- [Get Order Book For Symbol](https://globitex.com/api/#restGetOrderBook): `Nexpay::getOrderBook(string $pair): OrderBook`

#### Trading methods (private)

[](#trading-methods-private)

- [Place New Order](https://globitex.com/api/#PlaceNewOrder): `Nexpay::placeNewOrder(NewOrderParameters $newOrderParams): ExecutionReport`
- [Cancel Order](https://globitex.com/api/#CancelOrder): `Nexpay::cancelOrder(string $clientOrderId, string $account): ExecutionReport`
- [Cancel All Orders](https://globitex.com/api/#CancelAllOrders): `Nexpay::cancelAllOrders(array $params = []): ExecutionReport`
- [Get My Trades](https://globitex.com/api/#GetMyTrades): `Nexpay::getMyTrades(GetMyTradesParameters $getMyTradesParams): MyTradesCollection`

#### Payment Data methods (private)

[](#payment-data-methods-private)

- [Get Balance](https://globitex.com/api/#GetBalance): `Nexpay::getAccountBalance(): AccountsCollection`
- [Get Crypto Transaction Fee](https://globitex.com/api/#CryptoAddressGet): `Nexpay::getCryptoTransactionFee(string $currency, string $amount, string $account): CryptoTransactionFee`
- [Get Cryptocurrency Deposit Address](https://globitex.com/api/#CryptoAddressGet): `Nexpay::getCryptoCurrencyDepositAddress(string $currency, ?string $account = null): string`
- [Get Transaction List](https://globitex.com/api/#GetTransactionList): `Nexpay::getTransactions(array $params = []): TransactionsCollection`
- [Get GBX (Nexpay Token) Utilization List](https://globitex.com/api/#GbxUtilizationList): `Nexpay::getGBXUtilizationTransactions(array $params = []): GBXUtilizationTransactionsCollection`

Do you need any further method, which is not listed here? Just open an issue with the required method or even better open a PR to speed things up!

Contributing
============

[](#contributing)

Want to contribute? Great!

Create a new issue first, describing the feature or bug.

Just fork our code, make your changes, then let us know and we will review it.

1. Fork it.
2. Create a feature branch (git checkout -b my\_feature)
3. Commit your changes (git commit -m "Added My Feature")
4. Push to the branch (git push origin my\_feature)
5. Open a [Pull Request](https://github.com/bitbuyAT/nexpay-api-client/compare)
6. Enjoy and wait ;)

We are constantly updating and improving our code. We hope it can be for the benefit of the entire community.

Who are we?
===========

[](#who-are-we)

This package is maintained by bitbuy GmbH. We develop crypto and blockchain related software and operate a Vienna-based Bitcoin Store (bitcoin.wien). Feel free to visit our website for more info, if you're based in Vienna and looking to [buy Bitcoin for cash](https://www.bitcoin.wien/buy/bitcoin/). You can also [sell your Bitcoin for cash](https://www.bitcoin.wien/sell/bitcoin/) in our store.

License
=======

[](#license)

MIT License

Please check [LICENSE.txt](https://github.com/bitbuyAT/nexpay-api-client/blob/master/LICENSE.txt)

###  Health Score

24

—

LowBetter than 32% of packages

Maintenance10

Infrequent updates — may be unmaintained

Popularity11

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity57

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 80% 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 ~145 days

Recently: every ~195 days

Total

10

Last Release

830d ago

PHP version history (2 changes)v0.1PHP ^7.4

v0.5.0PHP ^8.0

### Community

Maintainers

![](https://www.gravatar.com/avatar/37176ac5b7b0c91c0e335ce5e961e3e5cfe2c8bf78b56dc31d498f52b06b03fa?d=identicon)[bitbuy](/maintainers/bitbuy)

---

Top Contributors

[![ems1985](https://avatars.githubusercontent.com/u/34405275?v=4)](https://github.com/ems1985 "ems1985 (16 commits)")[![Tob0t](https://avatars.githubusercontent.com/u/18067389?v=4)](https://github.com/Tob0t "Tob0t (4 commits)")

---

Tags

composer-packagecryptocurrencyexchangeglobitexlaravelapiclientresthttp clientnexpay

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/bitbuy-at-globitex-api-client/health.svg)

```
[![Health](https://phpackages.com/badges/bitbuy-at-globitex-api-client/health.svg)](https://phpackages.com/packages/bitbuy-at-globitex-api-client)
```

###  Alternatives

[e-moe/guzzle6-bundle

Integrates Guzzle 6 into your Symfony application

11259.2k](/packages/e-moe-guzzle6-bundle)[ismaeltoe/osms

PHP library wrapper of the Orange SMS API.

4540.0k](/packages/ismaeltoe-osms)[repat/plentymarkets-rest-client

REST Client for Plentymarkets

1510.0k](/packages/repat-plentymarkets-rest-client)[meteocontrol/vcom-api-client

HTTP Client for meteocontrol's VCOM API - The VCOM API enables you to directly access your data on the meteocontrol platform.

175.7k1](/packages/meteocontrol-vcom-api-client)[laragear/api-manager

Manage multiple REST servers to make requests in few lines and fluently.

161.8k](/packages/laragear-api-manager)

PHPackages © 2026

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