The Onlypass API provides One platform to access all payment and fintech services across Africa.
# onlypass-capacitor-plugin
The Onlypass API provides One platform to access all payment and fintech services across Africa.
## Screenshots
## Install
```bash
npm install onlypass-capacitor-plugin
npx cap sync
```
## Android
### Variables
This plugin will use the following parameters:
* amount:string;
*gateway:string; // (payment getways e.g paysack,flutterwave,monnify,voguepay) seperated by comma
* apikey:string;
* memo:string;
## Example
```typescript
import { Onlypass } from 'onlypass-capacitor-plugin';
const Payment = async () => {
await Onlypass.PayNow({
amount:"5000",
gateway:"paysack,flutterwave,monnify,voguepay",
memo:"Payment for shoe item",
apikey:"onlypass-test"
});
};
```
## API
* `PayNow(...)`
* Interfaces
### PayNow(...)
```typescript
PayNow(options: OpenOptions) => Promise
```