This reference documents every method available in Wallkit's Javascript library.

On this page

Wallkit

The following Global Wallkit SDK methods are available to use as part of your integration.

Walkit.init


This method initializes Wallkit SDK.

Wallkit.init();

Example:

Wallkit.init({
    resource: "xxxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxxx"
});

Wallkit.login


Logging user into Wallkit. After successful authorization, method initializes token & user

instances. Returns Promise with received user object.