Implemented the credit client.