codebrain-pyc / hub
The PayoCity Payment HUB SDK example code.
Requires
- php: ^8.2
- ext-curl: *
- ext-json: *
- ext-openssl: *
- composer/ca-bundle: ^1.3
- guzzlehttp/guzzle: ^7.0.1
This package is auto-updated.
Last update: 2026-08-18 12:41:38 UTC
README
PayoCity Payment HUB API client for PHP
Requirements
To use the HUB API client, the following things are required:
-
Get yourself a free HUB account. No sign up costs.
-
Create a POS and configure it for the desired PSP or Simulator to enable payments.
-
Now you're ready to use the HUB API client.
-
PHP >= 8.2
-
Up-to-date OpenSSL library
Composer Installation
By far the easiest way to install the HUB API client is to require it with Composer.
$ composer require codebrain-pyc/hub
{
"require": {
"codebrain-pyc/hub": "1.*"
}
}
PaymentJob
The paymentJobs are central when it comes to the transactions that are performed by the HUB. They contain all information about the transaction, like amounts, urls and steps taken.
Because of this, there are a lot of different functions available to interact with the paymentJob. All of them are documented on: PaymentJobs