Skip to content

Instantly share code, notes, and snippets.

@stevegraham
Last active Jun 18, 2020
Embed
What would you like to do?
document.addEventListener("DOMContentLoaded", function() {
var tellerConnect = TellerConnect.setup({
applicationId: "your_app_id",
skipPicker: true,
onInit: function() {
document.querySelector("button.teller-connect").addEventListener("click", function() {
tellerConnect.open({institution: "chase"})
})
},
onSuccess: function(enrollment) {
console.log("User enrolled successfully", enrollment.accessToken);
}
});
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment