Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
remils authored Sep 25, 2019
1 parent 36ebd36 commit ec76cea
Showing 1 changed file with 44 additions and 4 deletions.
48 changes: 44 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,17 +1,57 @@
# tinkoff-acquiring-client
# Tinkoff acquiring client

PHP client for Tinkoff REST API.

## Requirements
## 1 Requirements

- PHP 7.1 or above

## Installation
## 2 Installation

```sh
composer require 'sergey-zatulivetrov/tinkoff-acquiring-client'
```

## License
## 3 Uses

### 3.1 Сonnection definition

```php
use SergeyZatulivetrov\TinkoffAcquiring\Client;

$client = new Client();
```

#### 3.1.1 Init connection

```php
$client->init($data);
```

#### 3.1.2 Confirm connection

```php
$client->confirm($data);
```

#### 3.1.3 Cancel connection

```php
$client->cancel($data);
```

#### 3.1.4 GetState connection

```php
$client->getState($data);
```

#### 3.1.5 Resend connection

```php
$client->resend($data);
```

## 4 License

Copyright (c) Zatulivetrov Sergey. Distributed under the MIT.

0 comments on commit ec76cea

Please sign in to comment.