After the maturity of a debt or liability, an equitable action may be brought by a surety against his principal to compel payment of it, or by one who is jointly liable therefor with another to compel him to pay so much of it as he may be equitably liable for as between him and the plaintiff.
KRS 412.140