whagency/finova-pay-php-sdk

Finova Pay SDK

Maintainers

Package info

github.com/whagency/finova-pay-php-sdk

pkg:composer/whagency/finova-pay-php-sdk

Statistics

Installs: 1

Dependents: 0

Suggesters: 0

Stars: 0

Open Issues: 0

v1.0.0 2026-04-01 10:47 UTC

This package is auto-updated.

Last update: 2026-04-01 10:52:45 UTC


README

A PHP SDK for interacting with the Finova Pay API.

Latest Stable Version License

Installation

The preferred way to install this package is via composer.

Either run

composer require whagency/finova-pay-php-sdk

or add to your composer.json file

"require": {
    "whagency/finova-pay-php-sdk": "^1.0"
},

Configuration

You need API credentials to use this SDK:

  • API Public Key
  • API Private Key

You can obtain them from your Finova merchant dashboard.

Examples

use Finova\Pay\FinovaPay;

$client = new FinovaPay('API_PUBLIC_KEY', 'API_PRIVATE_KEY');

// Create a new merchant order
$response = $client->createOrder([
    'externalOrderId' => '51',
    'assetCode' => 'USDT',
    'amount' => '125.50',
    'title' => 'Demo order',
    'description' => 'Order created from PHP SDK',
    'expiresInSeconds' => 900,
    'successUrl' => 'https://merchant.example/success',
    'pendingUrl' => 'https://merchant.example/pending',
    'failUrl' => 'https://merchant.example/fail',
]);

// Get an existing order by ID
$response = $client->getOrder('MERCHANT_ORDER_ID');

License

This project is licensed under the MIT License.