You will have to retake the level, no need to pay for the second take but if you will still not pass and retake for the third time, then you have to pay at least 50% of the tuition fee ( A1- 10k, A2 – 10k, B1- 10k).
Some teachers are also taking in consideration if you fail on the speaking part you just have to retake the exam for the speaking part only. But if you fail all parts (speaking, writing, comprehension) then you really have to go back.