open-index/open-npm huggingface dataset:
npm package: @flowio/payment-sdk
Description: flow.io JavaScript Payment SDK
Latest version: 0.26.0

# @flowio/payment-sdk

Flow Enterprise Payment SDK

### Install

```sh
npm install @flowio/payment-sdk
```

### Usage

```JavaScript
const flowPayment = require('@flowio/payment-sdk');
```

or

```TypeScript
import * as flowPayment from '@flowio/payment-sdk';
```


### Usage as &lt;script&gt; on HTML page

You can use the library via a script tag using the following example:

```HTML
<script>
window.onFlowPaymentReady = function() {
  // payment lib is ready.
}
</script>
<script src="https://pay.flow.io/sdk/v1/payment.min.js" defer></script>
```

## Documentation

See the [Flow Documentation site](https://docs.flow.io) for infomation of how to use the Flow Payment SDK.