### Install via Composer Source: https://github.com/ahmdaka06/vipayment-php/blob/main/README.md Install the VIPayment PHP SDK using Composer. ```bash composer require vipayment/vipayment-php ``` -------------------------------- ### Get Profile Source: https://github.com/ahmdaka06/vipayment-php/blob/main/README.md Retrieve the profile information using the VIPayment client. ```php $profile = $vipayment->profile(); print_r($profile); ``` -------------------------------- ### Initialize VIPayment Client Source: https://github.com/ahmdaka06/vipayment-php/blob/main/README.md Initialize the VIPayment client with your API ID and API key. ```php require 'vendor/autoload.php'; use Vipayment\Vipayment; $apiId = 'your_api_id'; $apiKey = 'your_api_key'; $vipayment = new Vipayment($apiId, $apiKey); ``` -------------------------------- ### Get Prepaid Services List Source: https://github.com/ahmdaka06/vipayment-php/blob/main/README.md Retrieve all prepaid services or filter by type using the servicePrepaid method. ```php // Get all services $services = $vipayment->servicePrepaid(); // Filter by type $services = $vipayment->servicePrepaid('type', 'pulsa-reguler'); ``` -------------------------------- ### Get Game Services List Source: https://github.com/ahmdaka06/vipayment-php/blob/main/README.md Retrieve all game services or filter by brand using the serviceGame method. ```php // Get all game services $services = $vipayment->serviceGame(); // Filter by brand $services = $vipayment->serviceGame('mobile-legends', 'available'); ``` -------------------------------- ### Order Prepaid Service Source: https://github.com/ahmdaka06/vipayment-php/blob/main/README.md Order a prepaid service, such as a PLN token, using the orderPrepaid method. ```php // Example: Order PLN Token $result = $vipayment->orderPrepaid('PLN5', '3335211111133'); ``` -------------------------------- ### Order Game Service Source: https://github.com/ahmdaka06/vipayment-php/blob/main/README.md Order a game service, such as a Free Fire top-up, using the orderGame method. ```php // Example: Topup Free Fire $result = $vipayment->orderGame('FF5', '1234567890'); ``` -------------------------------- ### Check Game Order Status Source: https://github.com/ahmdaka06/vipayment-php/blob/main/README.md Check the status of a game order using the statusOrderGame method. ```php $status = $vipayment->statusOrderGame('TRX987654321'); ``` -------------------------------- ### Check Prepaid Order Status Source: https://github.com/ahmdaka06/vipayment-php/blob/main/README.md Check the status of a prepaid order using the statusOrderPrepaid method. ```php $status = $vipayment->statusOrderPrepaid('TRX123456789'); ``` === COMPLETE CONTENT === This response contains all available snippets from this library. No additional content exists. Do not make further requests.