<commit_before># sberbank-acquiring-client [![Build Status](https://travis-ci.org/voronkovich/sberbank-acquiring-client.svg?branch=master)](https://travis-ci.org/voronkovich/sberbank-acquiring-client)

PHP client for Sberbank's acquiring REST API.

## Installation

```sh
composer require 'voronkovich/sberbank-acquiring-client:dev-master'
```

## Usage

### Instantiating a client

```php
<?php

use Voronkovich\SberbankAcquiring\Client;

// In most cases to instantiate a client you need
// to pass your username and password to a constructor
$client = new Client([ 'userName' => 'YourUserName', 'password' => '<PASSWORD>' ]);

// More advanced example
$client = new Client([
    'userName' => 'userName',
    'password' => 'password',

    // A language code in ISO 639-1 format.
    // Use this option to set a language of error messages.
    'language' => 'ru',<commit_msg>Add a link to Sberbank page<commit_after># sberbank-acquiring-client [![Build Status](https://travis-ci.org/voronkovich/sberbank-acquiring-client.svg?branch=master)](https://travis-ci.org/voronkovich/sberbank-acquiring-client)

PHP client for [Sberbank's acquiring](http://data.sberbank.ru/en/s_m_business/bankingservice/equairing/) REST API.

## Installation

```sh
composer require 'voronkovich/sberbank-acquiring-client:dev-master'
```

## Usage

### Instantiating a client

```php
<?php

use Voronkovich\SberbankAcquiring\Client;

// In most cases to instantiate a client you need
// to pass your username and password to a constructor
$client = new Client([ 'userName' => 'YourUserName', 'password' => '<PASSWORD>' ]);

// More advanced example
$client = new Client([
    'userName' => 'userName',
    'password' => 'password',

    // A language code in ISO 639-1 format.
    // Use this option to set a language of error messages.
    'language' => 'ru',
{'fraction_non_alphanumeric': 0.14464382816748234, 'fraction_numerical': 0.004350190320826536, 'mean_word_length': 4.395894428152492, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 15, 'https://': 4, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '391542', 'n_tokens_mistral': 624, 'n_tokens_neox': 601, 'n_words': 160}