E-Serious Use of Voucher in different way

Hi Team, 

Is there an api or any other means to login with a given voucher without using the splash page?

I mean

Once the user is on our platform and follows the purchase steps for the voucher, we will like to directly login with the purchased voucher without going back to the splash page. So a kind of api to claim a voucher, so that user can directly start browsing.