Lenddo PHP SDK
Table of Contents
- REST Services
- Webhook Management
This SDK requires the following:
- Guzzle 3,4,5, or 6 !
- HAWK Authentication !
! These packages will be handled by the composer install process. They're listed for purposes of compatibility. If you are using a Guzzle version not compatible with our platform in your codebase already, please let us know and we'll upgrade the SDK as appropriate.
The Lenddo PHP SDK is available via Composer and can be installed by running the
composer require lenddo/sdk command. A local copy of composer is included if you do not have a global copy. This can be invoked by performing
php composer.phar install in the root of this repository.
Please refer to the packagist link here: https://packagist.org/packages/lenddo/sdk.
The AuthorizeApiClient, ServiceClient and WhiteLabelClient This SDK will allow you to contact Lenddo's REST based services. It acts as a wrapper around the popular GuzzleHttp\Guzzle package. A common interface will be returned regardless of the Guzzle version used and the original Guzzle request/response objects are exposed for your convenience.
Authorize API Client
The AuthorizeApiClient will allow you to impact product output by asynchronously providing data critical to the scoring or verification process.
The ServiceClient will allow you to retrieve the scoring, verification, and decision results from Lenddo.
The WhiteLabelClient will allow you to utilize Lenddo services without any Lenddo branding. This method of implementation is the most complex but allows you to fully customize your users' experience.
Both the whitelabel client and the service client have a common interface for making requests. Because of this you can utilize a single method for error handling for both classes.
While the REST Services allow you to retrieve the results of a scoring or verification job they require you to continue contacting Lenddo until results are available. For many situations this is less than ideal. Due to this Lenddo offers a webhook service. The webhook service is a feature which allows you to receive a POST request at a designated URL the moment a result is available.
v2.8 Release notes - https://github.com/Lenddo/php-lenddo/releases/tag/v2.8
- This release adds the parameters for altering the target authorize api region.
v2.7 Release notes - https://github.com/Lenddo/php-lenddo/releases/tag/v2.7
- Adding support for ApplicationFeatures Documentation
v2.6 Release Notes - https://github.com/Lenddo/php-lenddo/releases/tag/v2.6
v2.5 Release Notes - https://github.com/Lenddo/php-lenddo/releases/tag/v2.5
- Adding support for e-mail probe in the verification class.
v2.4 Release Notes - https://github.com/Lenddo/php-lenddo/releases/tag/v2.4
- Adding support for the new ExtraApplicationData endpoint Read the documentation here
v2.3 Release Notes - https://github.com/Lenddo/php-lenddo/releases/tag/v2.3
- Adding new utility to test webhooks locally. Read the documentation here
v2.2 Release Notes - https://github.com/Lenddo/php-lenddo/releases/tag/v2.2
- Adding new Verification management class for whitelabel verification probes.
v2.1 Release Notes - https://github.com/Lenddo/php-lenddo/releases/tag/v2.1
- Enhanced exception management
- New exception classes for reporting back error cases on REST API calls.
- Documentation for exception management
v2.0 Release Notes - https://github.com/Lenddo/php-lenddo/releases/tag/v2.0
- Breaking changes from v1.x
- Support for PHP 5.3, 5.4
- Support for Guzzle 3, 4, 5
- Updated Documentation
- Certificate Authority Root Inclusion