vipayment/vipayment-php

VIPayment PHP SDK Library

Installs: 17

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 0

Forks: 0

Open Issues: 0

pkg:composer/vipayment/vipayment-php

1.0.0 2025-11-30 15:56 UTC

This package is auto-updated.

Last update: 2025-12-30 16:11:45 UTC


README

Latest Stable Version Total Downloads License

Official PHP SDK for VIPayment API integration.

Installation

Install via Composer:

composer require vipayment/vipayment-php

Usage

Initialization

require 'vendor/autoload.php';

use Vipayment\Vipayment;

$apiId = 'your_api_id';
$apiKey = 'your_api_key';

$vipayment = new Vipayment($apiId, $apiKey);

Get Profile

$profile = $vipayment->profile();
print_r($profile);

Prepaid Services

Order Prepaid

// Example: Order PLN Token
$result = $vipayment->orderPrepaid('PLN5', '3335211111133');

Check Order Status

$status = $vipayment->statusOrderPrepaid('TRX123456789');

Get Services List

// Get all services
$services = $vipayment->servicePrepaid();

// Filter by type
$services = $vipayment->servicePrepaid('type', 'pulsa-reguler');

Game & Streaming Services

Order Game

// Example: Topup Free Fire
$result = $vipayment->orderGame('FF5', '1234567890');

Check Game Order Status

$status = $vipayment->statusOrderGame('TRX987654321');

Get Game Services List

// Get all game services
$services = $vipayment->serviceGame();

// Filter by brand
$services = $vipayment->serviceGame('mobile-legends', 'available');

License

MIT