steelpay-component
v0.1.5
Published
This library provides the official Steelpay Payment Widget.
Downloads
8
Readme
Steelpay Payment Widget
This library provides the official Steelpay Payment Widget.
To initialize you will need:
- A provider API key
- A steelpay API key
Initializing your Steelpay Payment Widget is as simple as:
import { useState } from 'react';
import {SteelpayPaymentWidget} from 'steelpay-component';
function App() {
const [amount, setAmount] = useState<number>(0);
const [currency, setCurrency] = useState<string>("USD");
return (
<App>
<SteelpayPaymentWidget amount={amount} currency={currency} steelpay_api_key="<YOUR_STEELPAY_API_KEY>" provider_api_key="<YOUR_PROVIDER_API_KEY>" />
</App>
);
}