Custom payments

Hello! I need to create a payment system where customers can make their payments based on their ID number. That is, the person enters their ID and a fee appears. Is it possible to do it in Wix? And how can I raise the price of each installment?