get_credit_history api