Lucra Flows Setup and Usage
Open Lucra
const lucraClient = new LucraClient(...)
lucraClient.open(element: <HTMLElement that will contain the iframe for Lucra>, phoneNumber?: string)
// and one of the below
.profile()
.home(locationId?: string)
.deposit()
.withdraw()
.createMatchup(gameId?: string)
.matchupDetails(matchupId: string)
.tournamentDetails(matchupId: string)
.deepLink(url: string)Redirect Lucra
// use an existing LucraClient that's open
lucraClient.redirect()
// and one of the below
.profile()
.home(locationId?: string)
.deposit()
.withdraw()
.createMatchup(gameId?: string)
.matchupDetails(matchupId: string)
.tournamentDetails(matchupId: string)
.deepLink(url: string)Last updated
