PHPackages                             moka-united/moka-united-ge-php - 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. [Payment Processing](/categories/payments)
4. /
5. moka-united/moka-united-ge-php

ActiveLibrary[Payment Processing](/categories/payments)

moka-united/moka-united-ge-php
==============================

United Payment Georgia PHP Client

1.0.0(7mo ago)017MITPHPPHP &gt;=7.4

Since Oct 14Pushed 1mo agoCompare

[ Source](https://github.com/optimisthub/moka-united-ge-php)[ Packagist](https://packagist.org/packages/moka-united/moka-united-ge-php)[ RSS](/packages/moka-united-moka-united-ge-php/feed)WikiDiscussions master Synced 1mo ago

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

United Payment Georgia API PHP Client
=====================================

[](#united-payment-georgia-api-php-client)

The United Payment Georgia API PHP Client provides convenient access to the [United Payment Georgia](https://unitedpayment.ge/) API from applications written in the PHP language.

Requirements
------------

[](#requirements)

- PHP 7.4 or higher

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

[](#installation)

You can install the bindings via [Composer](http://getcomposer.org/). Run the following command:

```
composer require moka-united/moka-united-ge-php
```

To use the bindings, use Composer's [autoload](https://getcomposer.org/doc/01-basic-usage.md#autoloading):

```
require_once('vendor/autoload.php');
```

Manual Installation
-------------------

[](#manual-installation)

If you do not wish to use Composer, you can download the [latest release](https://github.com/optimisthub/united-payment-ge-php/releases). Then, to use the bindings, include the `autoload.php` file.

```
require_once('autoload.php');
```

Dependencies
------------

[](#dependencies)

The bindings require the following PHP extensions in order to work properly:

- [`curl`](https://secure.php.net/manual/en/book.curl.php)
- [`json`](https://secure.php.net/manual/en/book.json.php)

If you use Composer, these dependencies should be handled automatically. If you install manually, you'll want to make sure that these extensions are available.

Getting Started
---------------

[](#getting-started)

```
use MokaUnitedGE\MokaUnitedClient;

$client = new MokaUnitedClient([
    'dealerCode' => '',
    'username' => '',
    'password' => '',
]);
```

Response Handling
-----------------

[](#response-handling)

All service calls return a **Response** object. Common methods:

```
$response->getStatusCode();
$response->getResultCode();
$response->getResultMessage();
$response->getData();
$response->getBody();
$response->getHeaders();
$response->getException();
$response->isSuccessful();
```

If `isSuccessful()` returns `true`, access the payload via `getData()`.

---

Payment Service
---------------

[](#payment-service)

### Create Payment

[](#create-payment)

```
$client->payments()->create([
    "Amount" => 0.01,
    "Currency" => "GEL",
    "BankCode" => 1,
    "CardToken" => "63F8C2BF-F76D-46C1-BB0E-C699692CB678",
    "InstallmentNumber" => 1,
    "ClientIP" => "203.0.113.21",
    "OtherTrxCode" => "ORDER-20250101-0001",
    "SubMerchantName" => "",
    "IsPoolPayment" => 0,
    "IsPreAuth" => 0,
    "IsTokenized" => 0,
    "IntegratorId" => 0,
    "Software" => "Postman",
    "Description" => "",
    "ReturnHash" => 1,
    "RedirectUrl" => "https://www.unitedpayment.ge/callback?trx=ORDER-20250101-0001",
    "RedirectType" => 0,
    "BuyerInformation" => [
        "BuyerFullName" => "Test User",
        "BuyerGsmNumber" => "5341234567",
        "BuyerEmail" => "email@email.com",
        "BuyerAddress" => "Levent Mah. Meltem Sok...",
    ],
    "CustomerInformation" => [
        "DealerCustomerId" => "",
        "CustomerCode" => "1234",
        "FirstName" => "Test",
        "LastName" => "User",
        "Email" => "test@unitedpayment.ge",
        "CardName" => "My Card"
    ]
]);
```

### Get Payments

[](#get-payments)

```
$client->payments()->all([
    "PaymentStartDate" => "2025-10-01 00:00",
    "PaymentEndDate" => "2025-11-01 00:00"
]);
```

---

Refund Service
--------------

[](#refund-service)

### Create Refund

[](#create-refund)

```
$client->refunds()->create([
    "VirtualPosOrderId" => "ORDER-20250101-0001",
    "OtherTrxCode" => "REFUND-20250101-0001",
    "Amount" => 14.25
]);
```

---

Card Service
------------

[](#card-service)

### Get Cards

[](#get-cards)

```
$client->cards()->all([
    "DealerCustomerId" => "",
    "CustomerCode" => "1234"
]);
```

### Create Card

[](#create-card)

```
$client->cards()->create([
    "DealerCustomerId" => "",
    "CustomerCode" => "1234",
    "CardHolderFullName" => "Test User",
    "CardNumber" => "4111111111111111",
    "ExpMonth" => "12",
    "ExpYear" => "2026",
    "CardName" => "My Card"
]);
```

### Retrieve Card

[](#retrieve-card)

```
$client->cards()->retrieve([
    "CardToken" => "63F8C2BF-F76D-46C1-BB0E-C699692CB678"
]);
```

### Update Card

[](#update-card)

```
$client->cards()->update([
    "CardToken" => "63F8C2BF-F76D-46C1-BB0E-C699692CB678",
    "CardName" => "Updated Card Name"
]);
```

### Delete Card

[](#delete-card)

```
$client->cards()->delete([
    "CardToken" => "63F8C2BF-F76D-46C1-BB0E-C699692CB678"
]);
```

###  Health Score

33

—

LowBetter than 75% of packages

Maintenance79

Regular maintenance activity

Popularity6

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity35

Early-stage or recently created project

 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

Unknown

Total

1

Last Release

211d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/a2ede6d6e97e5f7d61decc4a4fe63dd2163471aecc5ec031f59b3b1ec8eaeea6?d=identicon)[optimistlab](/maintainers/optimistlab)

---

Top Contributors

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

---

Tags

moka united georgiamoka united georgia phpmoka united georgia apimoka united georgia php clientunited payment georgiaunited payment georgia phpunited payment georgia apiunited payment georgia php client

###  Code Quality

Code StylePHP CS Fixer

### Embed Badge

![Health badge](/badges/moka-united-moka-united-ge-php/health.svg)

```
[![Health](https://phpackages.com/badges/moka-united-moka-united-ge-php/health.svg)](https://phpackages.com/packages/moka-united-moka-united-ge-php)
```

###  Alternatives

[omnipay/paypal

PayPal gateway for Omnipay payment processing library

3156.8M53](/packages/omnipay-paypal)[eduardokum/laravel-boleto

Biblioteca com boletos para o laravel

626351.9k2](/packages/eduardokum-laravel-boleto)[tbbc/money-bundle

This is a Symfony bundle that integrates moneyphp/money library (Fowler pattern): https://github.com/moneyphp/money.

1961.9M](/packages/tbbc-money-bundle)[2checkout/2checkout-php

2Checkout PHP Library

83740.3k2](/packages/2checkout-2checkout-php)[smhg/sepa-qr-data

Generate QR code data for SEPA payments

61717.2k5](/packages/smhg-sepa-qr-data)[omnipay/dummy

Dummy driver for the Omnipay payment processing library

271.2M33](/packages/omnipay-dummy)

PHPackages © 2026

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