PHP code example of futurepay / swagger-creditdecisioning-php
1. Go to this page and download the library: Download futurepay/swagger-creditdecisioning-php 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/ */
futurepay / swagger-creditdecisioning-php example snippets
_instance = new FuturePay\SDK\CreditDecisioning\Api\DefaultApi();
$data = new \FuturePay\SDK\CreditDecisioning\Model\Data(); // \FuturePay\SDK\CreditDecisioning\Model\Data | User information
try {
$result = $api_instance->decision($data);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling DefaultApi->decision: ', $e->getMessage(), PHP_EOL;
}
{
"repositories": [
{
"type": "git",
"url": "https://github.com/futurepay/swagger-creditdecisioning-php.git"
}
],
"