futurepay/swagger-creditdecisioning-php
Composer 安装命令:
composer require futurepay/swagger-creditdecisioning-php
包简介
README 文档
README
This is a microservice used to make a credit decision for a user based on input
This PHP package is automatically generated by the Swagger Codegen project:
- API version: 1.0.0
- Build package: io.swagger.codegen.languages.PhpClientCodegen
Requirements
PHP 5.4.0 and later
Installation & Usage
Composer
To install the bindings via Composer, add the following to composer.json:
{
"repositories": [
{
"type": "git",
"url": "https://github.com/futurepay/swagger-creditdecisioning-php.git"
}
],
"require": {
"futurepay/swagger-creditdecisioning-php": "*@dev"
}
}
Then run composer install
Manual Installation
Download the files and include autoload.php:
require_once('/path/to/SwaggerClient-php/autoload.php');
Tests
To run the unit tests:
composer install
./vendor/bin/phpunit
Getting Started
Please follow the installation procedure and then run the following:
<?php require_once(__DIR__ . '/vendor/autoload.php'); $api_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; } ?>
Documentation for API Endpoints
All URIs are relative to http://credit.futurepay.ca
| Class | Method | HTTP request | Description |
|---|---|---|---|
| DefaultApi | decision | POST /v1/decision | Submit some information to perform a decision on |
Documentation For Models
- CreditInformation
- CreditSummary
- CreditSummaryClosedWithBalanceAmount
- CreditSummaryInstallmentAmount
- CreditSummaryRevolvingAmount
- CreditSummaryTotalHistory
- Data
- Decision
- FraudAlert
- InlineResponse200
- InputCategoryCreditRule
- InputUser
- SuppliedInformation
Documentation For Authorization
All endpoints do not require authorization.
Author
统计信息
- 总下载量: 3.69k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: proprietary
- 更新时间: 2017-06-15