You require a permit to keep or trade. So yes you need to keep your permit until you have sold/ gave away the snake. You can relinquish your permit once you have done the trade.
If you haven't got a permit because you dont need in sa to keep one animal,i think there is a cheap permit available just to allow you to dispose of uour animal. Google search sa fauna unit and give them a call/email.