A convenient PayWhirl API wrapper in PHP
The PayWhirl PHP library is provided to allow developers to access PayWhirl services without needing to write their own API wrappers.
The Documentation linked here and below contains all of the available methods for interacting with your PayWhirl account. If you would like to see additional functionality added, feel free to submit an issue or a pull request.
Table of Contents
- PHP 5.6+
.php file in your project and import the class so that you can
instantiate a PayWhirl object.
When you create a new PayWhirl object you need to pass in your API key and secret, which can be found in the API key section of the main site.
// include PayWhirl PHP SDK require_once("PayWhirl.php"); $api_key = "pwpk_xxxxxxxxxxxxxxx"; $api_secret = "pwpsk_xxxxxxxxxxx"; $payWhirl = new \PayWhirl\PayWhirl($api_key, $api_secret);
PayWhirl Inc. and the names and logos for PayWhirl are trademarks of PayWhirl inc.