PHP code example of abdyfranco / pagalo

1. Go to this page and download the library: Download abdyfranco/pagalo library. Choose the download type require.

2. Extract the ZIP file and open the index.php.

3. Add this code to the index.php.
    
        
<?php
require_once('vendor/autoload.php');

/* Start to develop here. Best regards https://php-download.com/ */

    

abdyfranco / pagalo example snippets




use Pagalo\Module\Payments;

$Payments = new Payments('username', 'password');

$client_id = '1000';
$description = 'Invoice #1234';
$amount = 100;
$currency = 'USD';

$request = $Payments->request($client_id, $description, $amount, $currency);