27 lines
734 B
PHP
27 lines
734 B
PHP
<?php
|
|
include_once('def.php');
|
|
include 'session_read.php';
|
|
include('wrenchboard_class.php');
|
|
$wrenchboard = new wrenchboard_class();
|
|
|
|
$data = array(
|
|
"member_id" => $member_id ,
|
|
"sessionid" => $session_id ,
|
|
"uid" => $uid,
|
|
"family_uid" => "1f385837-b5e6-420e-a17a-488c4b8ef015",
|
|
"wallet_uid" => "aa6e6488-2e71-4f83-b265-27c3c4339f73",
|
|
'origing_wallet_uid' => 'cc0f8743-3f18-4214-ba4b-781e5dda9cb8',
|
|
'currency' => 'NAIRA',
|
|
'amount' => rand(10,30)*100,
|
|
"description" => "Thistransfer must have a description",
|
|
'family_transfer_mode' => FAMILY_TRANSFER_DIRECT,
|
|
'action'=>WRENCHBOARD_FAMILY_TRANSFER
|
|
);
|
|
|
|
$out = array();
|
|
$ret = $wrenchboard->wrenchboard_api($data,$out,'familytransfer');
|
|
|
|
?>
|
|
|
|
|