Banking Transfer with CC-Number

Hey,
i am currently working on a new Banking System for my fiveM Roleplay Server, i want the players to Transfer Money to each other with a Unique Creditcard Number. We are using esx.
1.
So here is my first Question, how can i implement, that the server Generates a Unique Number with a fixed format and save that in the database.

And then how can i find the players ID threw the Creditcard number, is there a existing function, or should i use MySQL?

Thanks a lot!

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.