Parameters
The URL obtained on your server by tracking an
action.
The options used when launching the pre-built UI.
Response
Promise<TokenPayload>
When
mode is set as popup it returns a Promise<TokenPayload> that resolves when the popup closes.
