(a) Any contract, agreement, promise, transaction or other similar undertaking, entered into between a professional bondsman and any other person or persons, wherein the bondsman charges, demands, contracts for, accepts, collects or receives any sum of money, fee, compensation, premium, gratuity or other consideration, return or favor of any character, in consideration of the bondsman's performance of, or the bondsman's promise, offer or attempt to do or perform, directly or indirectly, any of the acts or things declared to be unlawful by §§ 40-11-307 — 40-11-310, are declared to be against public policy, illegal and void.
(b) Any person or persons, who pay out money or part with any other thing of value under the contract, agreement, promise, transaction or undertaking may file suit, for that person or for the use of that person or persons for whom the person paid the money or delivered the other thing of value to the bondsman, in any court having jurisdiction thereof and recover the consideration so paid or parted with and, in addition, a forfeiture in an amount equal to twice the sum of money paid or twice the value of any other consideration parted with or both, as the case may be.