Sorting the installment numbers of the database according to the 6 digits of the credit / debit card with Ajax

[ajax[controller[incoming data[routeselect option](https://i.sstatic.net/MbargrpB.png)](https://i.sstatic.net/ivMS79j8.png)](https://i.sstatic.net/E6tEvDZP.png)](https://i.sstatic.net/CblkShPr.png)
binlists

Hello Friends

It’s been 4 months since I started Laravel and I’ve started to like it a lot. But I’m stuck on something and I need your help. I made the relevant queries in the attachment and the entire record comes successfully. The problem is that when you type the first 6 digits of the customer card, the number of installments set according to that card number from the relevant database should come in the “select option”.

I need your help and vast knowledge on the subject.
Thank you very much to everyone in advance and wish you success.