Link Debts
Help consumers view, manage, and take control of their debts
Give consumers an overview of all their debts, drill into the details, and help them achieve their financial goals—all with Nexus.linkDebts
.
Calling Nexus.linkDebts
Nexus.linkDebts
Nexus.linkDebts
expects to receive a single options
object as a parameter. This options
object allows you to specify an optional onEvent
callback to take actions based on your borrower's activity within Nexus:
// Assuming you have a button your Consumer can click to start linking their debts
let nexusButton = document.querySelector('#nexus-debts-button')
// Attach click handler to invoke Nexus.linkDebts
nexusButton.addEventListener('click', e => {
Nexus.linkDebts({
// the function to call when an important event takes place within Nexus
onEvent: onEventCallback
})
})
Nexus Events
See our guide for using onEvent callbacks.
Consumer IDs
When relying on Nexus to create consumers, you will need to capture the
consumer.uuid
that is returned in order to make API calls on behalf of your consumers
Updated 4 months ago