# stitch-node

A Node.js SDK for accepting digital wallet payments powered by [Stitch Money](https://stitch.money/).

# Install

```bash
npm install @stitch-money/node
```

# Usage

This package is to be used in conjunction with [@stitch-money/react](https://www.npmjs.com/package/@stitch-money/react)

Import the package on your server:

```
import { init, type StitchTransaction } from "@stitch-money/node";

const walletPayClient = init(clientId, applePayMerchantId, secret);
```

and use it to connect to the Stitch Payments API.

For more information, [get in touch with Stitch](https://stitch.money/contact)

# License

The Stitch Node.js SDK is open source and available under the MIT license. See the [LICENSE](https://github.com/Stitch-Money/stitch-node/blob/main/LICENSE) file for more information.
