The PayoCity Payment HUB SDK example code.

Maintainers

Package info

github.com/PayoCity/payocity-hub-sdk

Type:project

pkg:composer/codebrain-pyc/hub

Transparency log

Statistics

Installs: 1

Dependents: 0

Suggesters: 0

Stars: 0

Open Issues: 0

1.0.3 2026-06-16 13:37 UTC

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