Interact with widget

How to communicate with widget?

You can interact with our widget using java script api in real-time, without the need to develop complex a backend integration.

TransactionLink's JS API is available in a global variable named

window.transactionlink

Before interacting with JS API, make sure the widget has been already successfully initialised:

 window.transactionlink_ready = () => {
      transactionlink.setContext(<<token>>)
      window.transactionlink.open()
}

What’s Next
Did this page help you?