<a name="Api" id="Api" href="#Api">&nbsp;</a>

## Api
Class Api include method for working with paydock api

**Kind**: global class  

* [Api](#Api)
    * [new Api(publicKey)](#new_Api_new)
    * [.getBrowserDetails()](#Api+getBrowserDetails) ⇒ <code>BrowserDetails</code>
    * [.charge()](#Api+charge)

<a name="new_Api_new" id="new_Api_new" href="#new_Api_new">&nbsp;</a>

### new Api(publicKey)

| Param | Type | Description |
| --- | --- | --- |
| publicKey | <code>string</code> | PayDock users public key |

**Example**  
```js
var api = new Api('publicKey');
```
<a name="Api+getBrowserDetails" id="Api+getBrowserDetails" href="#Api+getBrowserDetails">&nbsp;</a>

### api.getBrowserDetails() ⇒ <code>BrowserDetails</code>
Method for getting browser details

**Kind**: instance method of [<code>Api</code>](#Api)  
**Returns**: <code>BrowserDetails</code> - Browser details object  
**Example**  
```js
api.getBrowserDetails();
```
<a name="Api+charge" id="Api+charge" href="#Api+charge">&nbsp;</a>

### api.charge()
Current method allows to work with charge related endpoints

**Kind**: instance method of [<code>Api</code>](#Api)  
**Example**  
```js
api.charge();
```
