1.0.7 • Published 2 years ago

finswich-checkout v1.0.7

Weekly downloads
-
License
ISC
Repository
github
Last release
2 years ago

Finswich checkout

What is FinSwich

With a single integration to our APIs, right on your app, your customers can send “instant transfers” to every corner of Africa & beyond.

How to Integrate

import FinSwich from "finswich-checkout";

const init_option = {
  reference: "your_user_reference",
  public_key: "your_finswich_api_public-key",
  balance: "user_balance",
  origin: "your_app_url",
};

optional_callback = "a callback function that will be called when the checkout is being closed"

const finSwich = new FinSwich(init_option, optional_callback);

const Close = () => {
  finSwich.closeModal();
};
const Open = () => {
  finSwich.openModal();
};

finSwich.modal "you can also check/listen to finSwich.modal to know when the modal is out of frame so you can perform certain actions"
1.0.7

2 years ago

1.0.6

2 years ago

1.0.5

2 years ago

1.0.4

2 years ago

1.0.3

2 years ago

1.0.2

2 years ago

1.0.1

2 years ago

1.0.0

2 years ago