Download the PHP package getkevin/kevin-php without Composer
On this page you can find all versions of the php package getkevin/kevin-php. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Informations about the package kevin-php
kevin. PHP Client
PHP client implementing kevin. API.
Prerequisites
- PHP 5.6 or later
Installation
Composer
-
To install latest kevin. PHP Client repository using composer:
- Using Composer autoloader, include kevin. PHP Client:
Detailed information about available versions can be found at packagist repository:
Usage Examples
Parameter names and response data match those defined in API documentation.
Detailed API documentation can be found here.
Initialization
$clientId
- Your client id. Your can get it in kevin. platform console.
$clientSecret
- Your client secret. Your can get it in kevin. platform console.
$options
- Optional options array.
error
- Defines return type of error data. Possible values are:array
- returns an array on error,exception
- throws an exception on error, default value isexception
.
version
- Selects API versions to use. Default value is0.3
. Possible values are0.1
,0.2
or0.3
.lang
- a two-letter lowercase language code defined in ISO 639-1 standart. Sets the language of the frame page.
1. Authentication
1.1 Get supported countries
1.2 Get supported banks
1.3 Get supported bank
1.4 Get project settings
1.5 Start authentication
1.6 Receive token
1.7 Refresh token
1.8 Receive token content
2. Payment
2.1 Initiate bank payment
2.2 Initiate card payment
2.3 Initiate hybrid payment
2.4 Get payment
2.5 Get payment status
2.6 Initiate payment refund
2.7 Get payment refunds
3. Account
3.1 Get accounts
3.2 Get account details
3.3 Get account transactions
3.4 Get account balance
4. Security
4.1 Verify signature
:exclamation: We recommend ignoring the webhook if the signature is older than 5 minutes.
Contributing
Before making any code changes, make sure to run composer install
to install development requirements.
We are using PHP CS Fixer GitHub action to conduct code style checks for each commit and pull request. Make sure to run composer fix-style
before
committing changes to make sure your code matches our style standards. Pull requests with failed style checks will not
be approved.
WARNING: we use risky rules so make sure to check for breaking style fixes.
Style errors and violated rules log can be viewed by running composer check-style
command.
Support
Email: [email protected]
License
- MIT license
- Copyright© 2020 kevin.
All versions of kevin-php with dependencies
ext-json Version *