blob: 21f01f05bf2a13c3737e25ee3e79b878c557f2b9 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
#!/usr/bin/perl
use strict;
use Frontier::Client;
use Data::Dumper;
my $uri = new URI 'http://localhost:8008/';
my $server = new Frontier::Client ( 'url' => $uri );
my $result = $server->call(
'FS.API.insert_payment_phonenum',
'secret' => 'sharingiscaring',
'phonenum' => '3125550001',
'payby' => 'CASH',
'paid' => '54.32',
#optional
'_date' => 1397977200, #UNIX timestamp
);
#die $result->{'error'} if $result->{'error'};
print Dumper($result);
1;
|