Any person accused of a violation of his parole, as set forth in this article, may be represented by counsel at any hearing held for the purpose of determining whether his parole should be revoked. In the event the person accused of a violation of his parole is unable to pay for counsel and desires to have counsel appointed for him he shall present his application for the appointment of counsel and an affidavit reflecting his inability to pay for such counsel to the circuit court in the county in which such person is confined or in the county in which the hearing is to be held for the purpose of determining whether his parole should be revoked, or to the judge thereof in vacation. If it appears to the satisfaction of the court or judge that such person is in fact unable to pay for counsel, such court or judge may appoint counsel to represent such person. Counsel so appointed shall be paid for his services and expenses in accordance with the provisions of article twenty-one, chapter twenty- nine of this code.