The price of a royal mail franking license will be included in the rental, purchase or inspection cost of your franking machine. You do not pay it directly to Royal Mail, instead you pay you apply and pay for it through a Royal Mail authorised franking supplier.
You have to have this license before you can legally use your machine. To learn more read: What is a Royal Mail franking machine license?