1.0.7 • Published 1 year ago

finswich-checkout v1.0.7

Weekly downloads
-
License
ISC
Repository
github
Last release
1 year 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

1 year ago

1.0.6

1 year ago

1.0.5

1 year ago

1.0.4

1 year ago

1.0.3

1 year ago

1.0.2

1 year ago

1.0.1

1 year ago

1.0.0

1 year ago