API_URLS
API_URLS
Interacts with the PandaPay API Extend this class if you need additional functionality or need to modify the internal \Curl\Curl object
sendDonation(\PP\Models\Donation $donation) : Object
Sends a donation request to PandaPay
| \PP\Models\Donation | $donation | the donation object |
on failure
the JSON response as a PHP object
sendGrant(\PP\Models\Donation $donation) : Object
Sends a grant request to PandaPay
| \PP\Models\Donation | $donation | the donation object |
on failure
the JSON response as a PHP object