This repository contains the software of Paggi PHP SDK.
You can use this SDK to integrate your application with Paggi API
Use composer to install this SDK:
composer require paggi/sdkSee the example below:
use \Paggi\Paggi;
use \Paggi\Charge;
# First, set your API Key
Paggi::setApiKey('B31DCE74-E768-43ED-86DA-85501612548F')
$charges = Charge::findAll();
$charge = $charges->result[0];
$charge->cancel()TO see more details, visit our API documentation