# CardX Stax Library

Stax Gateway Functions
Targets outputs/inputs to match previous gateway functions for ease of swapping.

## Installation

``` bash
npm install @cardx/stax
```

## Usage

``` javascript
import Stax from "@cardx/stax-lib";
```

or

``` javascript
const Stax = require("@cardx/stax-lib");
```

### Initializing the Stax class
``` javascript
const stax = new Stax({
  apiKey: merchantApiKey,
  log // reference to lambda handler log (not required)
});
```

## Changelog

* 1.0.0: todo

## License

© CardX. All rights reserved.
