<?php
 
 
//place this file in the same folder with the class
 
 
// the following code will give a Array() of all the balance's !
 
require('./PerfectMoney.php');
 
$PM = new PerfectMoneyAPI("member_id", "your_account_password");
 
$PMbalance = $PM->getBalance();
 
 
print_r($PMbalance);
 
 
//to make a withdrawal
 
$result = $PM->transferFund("your_account_id","receiver_account_id","amount_to_withdraw");
 
 |